Remove old testing code
This commit is contained in:
parent
15503177a8
commit
b1944dfda1
@ -14,12 +14,6 @@ namespace pim
|
|||||||
//int * esi = malloc(1024*1024);
|
//int * esi = malloc(1024*1024);
|
||||||
emit("BE"); //mov esi, machineStack
|
emit("BE"); //mov esi, machineStack
|
||||||
emit((intptr_t)esi);
|
emit((intptr_t)esi);
|
||||||
//emit("81 EC"); //sub esp, 12
|
|
||||||
//emit(12);
|
|
||||||
#ifdef DEBUG
|
|
||||||
emit("81 C4"); //add esp, 4
|
|
||||||
emit(4);
|
|
||||||
#endif
|
|
||||||
while(programCounter < romSize)
|
while(programCounter < romSize)
|
||||||
{
|
{
|
||||||
Word argument = rom[programCounter].Parameter;
|
Word argument = rom[programCounter].Parameter;
|
||||||
@ -290,12 +284,6 @@ namespace pim
|
|||||||
//std::cout << programStack << std::endl;
|
//std::cout << programStack << std::endl;
|
||||||
programCounter++;
|
programCounter++;
|
||||||
}
|
}
|
||||||
#ifdef DEBUG
|
|
||||||
emit("81 EC"); //sub esp, 4
|
|
||||||
//emit("81 EC"); //sub esp, 4
|
|
||||||
emit(4);
|
|
||||||
emit("C9"); //leave //When -fomit-frame-pointers is used, don't 'leave', since ebp isn't on the stack
|
|
||||||
#endif
|
|
||||||
for(std::map<int, int>::iterator iter = placeholders.begin(), end = placeholders.end(); iter != end; ++iter)
|
for(std::map<int, int>::iterator iter = placeholders.begin(), end = placeholders.end(); iter != end; ++iter)
|
||||||
{
|
{
|
||||||
std::pair<int, int> placeholder = *iter;
|
std::pair<int, int> placeholder = *iter;
|
||||||
|
Reference in New Issue
Block a user