Remove get_regs_short in non-debug mode
This commit is contained in:
parent
f33c7ca70b
commit
c8540d1113
|
@ -133,6 +133,8 @@ CPU.prototype.debug_init = function()
|
||||||
|
|
||||||
function get_regs_short()
|
function get_regs_short()
|
||||||
{
|
{
|
||||||
|
if(!DEBUG) return;
|
||||||
|
|
||||||
var
|
var
|
||||||
r32 = { "eax": REG_EAX, "ecx": REG_ECX, "edx": REG_EDX, "ebx": REG_EBX,
|
r32 = { "eax": REG_EAX, "ecx": REG_ECX, "edx": REG_EDX, "ebx": REG_EBX,
|
||||||
"esp": REG_ESP, "ebp": REG_EBP, "esi": REG_ESI, "edi": REG_EDI },
|
"esp": REG_ESP, "ebp": REG_EBP, "esi": REG_ESI, "edi": REG_EDI },
|
||||||
|
|
Loading…
Reference in a new issue