Просмотр исходного кода

video_core/macro_jit_x64: Remove initializer in member variable

Fix build time issues on gcc. Confirmed through asan that avoiding this
initialization is safe.
ReinUsesLisp 6 лет назад
Родитель
Сommit
6e5d8aac4d
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/video_core/macro/macro_jit_x64.h

+ 2 - 2
src/video_core/macro/macro_jit_x64.h

@@ -85,8 +85,8 @@ private:
     std::optional<Macro::Opcode> next_opcode{};
     ProgramType program{nullptr};
 
-    std::array<Xbyak::Label, MAX_CODE_SIZE> labels{};
-    std::array<Xbyak::Label, MAX_CODE_SIZE> delay_skip{};
+    std::array<Xbyak::Label, MAX_CODE_SIZE> labels;
+    std::array<Xbyak::Label, MAX_CODE_SIZE> delay_skip;
     Xbyak::Label end_of_code{};
 
     bool is_delay_slot{};