| Index: src/deoptimizer.cc
|
| diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc
|
| index 93f5f97a1e03f5a3c86f22378929ea86c98983e4..c1ea3fe4798fbcfe8966d4725f110f82f8ae2c54 100644
|
| --- a/src/deoptimizer.cc
|
| +++ b/src/deoptimizer.cc
|
| @@ -891,6 +891,10 @@ void Deoptimizer::DoComputeJSFrame(TranslatedFrame* translated_frame,
|
| output_offset);
|
| }
|
|
|
| + if (trace_scope_ != nullptr) {
|
| + PrintF(trace_scope_->file(), " -------------------------\n");
|
| + }
|
| +
|
| // There are no translation commands for the caller's pc and fp, the
|
| // context, and the function. Synthesize their values and set them up
|
| // explicitly.
|
| @@ -990,6 +994,10 @@ void Deoptimizer::DoComputeJSFrame(TranslatedFrame* translated_frame,
|
| value = reinterpret_cast<intptr_t>(function);
|
| WriteValueToOutput(function, 0, frame_index, output_offset, "function ");
|
|
|
| + if (trace_scope_ != nullptr) {
|
| + PrintF(trace_scope_->file(), " -------------------------\n");
|
| + }
|
| +
|
| // Translate the rest of the frame.
|
| for (unsigned i = 0; i < height; ++i) {
|
| output_offset -= kPointerSize;
|
| @@ -1123,6 +1131,10 @@ void Deoptimizer::DoComputeInterpretedFrame(TranslatedFrame* translated_frame,
|
| output_offset);
|
| }
|
|
|
| + if (trace_scope_ != nullptr) {
|
| + PrintF(trace_scope_->file(), " -------------------------\n");
|
| + }
|
| +
|
| // There are no translation commands for the caller's pc and fp, the
|
| // context, the function, new.target and the bytecode offset. Synthesize
|
| // their values and set them up
|
| @@ -1234,6 +1246,10 @@ void Deoptimizer::DoComputeInterpretedFrame(TranslatedFrame* translated_frame,
|
| WriteValueToOutput(smi_bytecode_offset, 0, frame_index, output_offset,
|
| "bytecode offset ");
|
|
|
| + if (trace_scope_ != nullptr) {
|
| + PrintF(trace_scope_->file(), " -------------------------\n");
|
| + }
|
| +
|
| // Translate the rest of the interpreter registers in the frame.
|
| for (unsigned i = 0; i < height - 1; ++i) {
|
| output_offset -= kPointerSize;
|
|
|