fix: rename wrenDebugPrintCode to wrenDumpCode in endCompiler debug dump

The debug dump macro in endCompiler was calling the old function name
wrenDebugPrintCode, which has been renamed to wrenDumpCode. This change
updates the call site to match the new function name, fixing a potential
compilation error when WREN_DEBUG_DUMP_COMPILED_CODE is enabled.
This commit is contained in:
Bob Nystrom
2015-03-30 14:39:37 +00:00
+1 -1
View File
@@ -1347,7 +1347,7 @@ static ObjFn* endCompiler(Compiler* compiler,
wrenPopRoot(compiler->parser->vm);
#if WREN_DEBUG_DUMP_COMPILED_CODE
wrenDebugPrintCode(compiler->parser->vm, fn);
wrenDumpCode(compiler->parser->vm, fn);
#endif
return fn;