Commit c71690d5 authored by Dan Elphick's avatar Dan Elphick Committed by Commit Bot

[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/1087458Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
Commit-Queue: Dan Elphick <delphick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#53540}
parent 8789d804
......@@ -172,7 +172,7 @@ RUNTIME_FUNCTION(Runtime_InterpreterTraceBytecodeExit) {
offset > bytecode_iterator.current_offset()) {
OFStream os(stdout);
// Print all output registers and accumulator.
PrintRegisters(os, false, bytecode_iterator, accumulator);
PrintRegisters(isolate, os, false, bytecode_iterator, accumulator);
os << std::flush;
}
return isolate->heap()->undefined_value();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment