dump_function_code: Respect DUMP_GENERATED_WASM configuration
This commit is contained in:
parent
cba5491fc4
commit
c04a21037b
|
@ -1358,6 +1358,11 @@ CPU.prototype.log_uncompiled_code = function(start, end)
|
|||
|
||||
CPU.prototype.dump_function_code = function(block_ptr, count)
|
||||
{
|
||||
if(!DEBUG || !DUMP_GENERATED_WASM)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
const SIZEOF_BASIC_BLOCK_IN_DWORDS = 7;
|
||||
|
||||
const mem32 = new Int32Array(this.wm.memory.buffer);
|
||||
|
|
Loading…
Reference in a new issue