Răsfoiți Sursa

fix compiler error

Kolja Strohm 3 săptămâni în urmă
părinte
comite
e509033f86
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      Assembly.h

+ 1 - 1
Assembly.h

@@ -1019,7 +1019,7 @@ namespace Framework
             DLLEXPORT void addLoadAddress(T* addr, GPRegister target = RAX)
             {
                 instructions.add(new Instruction(MOV,
-                    {new GPRegisterArgument(temp),
+                    {new GPRegisterArgument(target),
                         new ConstantArgument(
                             reinterpret_cast<__int64>(addr))}));
             }