Compiler: Fix label generation
This commit is contained in:
parent
4e1ea552f1
commit
224d646297
@ -46,7 +46,7 @@ class Tool;
|
||||
|
||||
class TPTScriptInterface;
|
||||
class LuaScriptInterface;
|
||||
typedef void (*NativeUpdateFunc)(int, int, int);
|
||||
typedef void (TPT_VM_CALLABLE *NativeUpdateFunc)(int, int, int);
|
||||
class LuaScriptInterface: public CommandInterface
|
||||
{
|
||||
int luacon_mousex, luacon_mousey, luacon_mousebutton, luacon_brushx, luacon_brushy;
|
||||
|
@ -305,7 +305,7 @@ namespace pim
|
||||
std::stringstream label;
|
||||
label << prefix;
|
||||
label << "_";
|
||||
label << labelCounter;
|
||||
label << labelCounter++;
|
||||
label << "_";
|
||||
return label.str();
|
||||
}
|
||||
|
@ -12,7 +12,6 @@ namespace pim
|
||||
|
||||
for(int i = 0; i < 8; i++) { emit("90"); } //nop, helps find the code in memory with a debugger
|
||||
|
||||
|
||||
//emit("BE"); //mov esi, machineStack
|
||||
//emitConstantP((intptr_t)machineStack);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user