Explorar el Código

fix compiler error

Kolja Strohm hace 3 semanas
padre
commit
e509033f86
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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))}));
             }