[runtime] Fix builds with v8_enable_trace_ignition
Fix instance of PrintRegisters only seen by compiler if V8_TRACE_IGNITION is set. Bug: v8:7786 Change-Id: I512e0ac111d61ff586c6cfa4a41878792a834602 Reviewed-on: https://chromium-review.googlesource.com/1087458 Reviewed-by: Tobias Tebbi <tebbi@chromium.org> Commit-Queue: Dan Elphick <delphick@chromium.org> Cr-Commit-Position: refs/heads/master@{#53540}
This commit is contained in:
parent
8789d804ec
commit
c71690d5a5
@ -172,7 +172,7 @@ RUNTIME_FUNCTION(Runtime_InterpreterTraceBytecodeExit) {
|
|||||||
offset > bytecode_iterator.current_offset()) {
|
offset > bytecode_iterator.current_offset()) {
|
||||||
OFStream os(stdout);
|
OFStream os(stdout);
|
||||||
// Print all output registers and accumulator.
|
// Print all output registers and accumulator.
|
||||||
PrintRegisters(os, false, bytecode_iterator, accumulator);
|
PrintRegisters(isolate, os, false, bytecode_iterator, accumulator);
|
||||||
os << std::flush;
|
os << std::flush;
|
||||||
}
|
}
|
||||||
return isolate->heap()->undefined_value();
|
return isolate->heap()->undefined_value();
|
||||||
|
Loading…
Reference in New Issue
Block a user