Commit ed977c97 authored by jarin's avatar jarin Committed by Commit bot

Fix debug printing of inputs in the deoptimizer, pull out printing into separate methods.

Also fixed the duplicated output of context deopt.

BUG=

Review URL: https://codereview.chromium.org/1187533002

Cr-Commit-Position: refs/heads/master@{#29019}
parent d19410f8
This diff is collapsed.
...@@ -646,9 +646,16 @@ class Deoptimizer : public Malloced { ...@@ -646,9 +646,16 @@ class Deoptimizer : public Malloced {
void DoComputeCompiledStubFrame(TranslationIterator* iterator, void DoComputeCompiledStubFrame(TranslationIterator* iterator,
int frame_index); int frame_index);
void WriteValueToOutput(TranslatedFrame::iterator* iterator, int* input_index, void WriteTranslatedValueToOutput(
int frame_index, unsigned output_offset, TranslatedFrame::iterator* iterator, int* input_index, int frame_index,
Address output_address_for_materialization = nullptr); unsigned output_offset, const char* debug_hint_string = nullptr,
Address output_address_for_materialization = nullptr);
void WriteValueToOutput(Object* value, int input_index, int frame_index,
unsigned output_offset,
const char* debug_hint_string);
void DebugPrintOutputSlot(intptr_t value, int frame_index,
unsigned output_offset,
const char* debug_hint_string);
unsigned ComputeInputFrameSize() const; unsigned ComputeInputFrameSize() const;
unsigned ComputeFixedSize(JSFunction* function) const; unsigned ComputeFixedSize(JSFunction* function) const;
......
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