Index: src/deoptimizer.cc |
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc |
index 8f411a37e3e711e90cf3ff7d2cdaacfadd9a1b03..9de77f5f8f316d075d7568b14b0d3e014dbe212f 100644 |
--- a/src/deoptimizer.cc |
+++ b/src/deoptimizer.cc |
@@ -354,6 +354,7 @@ Deoptimizer::Deoptimizer(Isolate* isolate, |
bailout_type_(type), |
from_(from), |
fp_to_sp_delta_(fp_to_sp_delta), |
+ has_alignment_padding_(0), |
input_(NULL), |
output_count_(0), |
jsframe_count_(0), |
@@ -593,12 +594,14 @@ void Deoptimizer::DoComputeOutputFrames() { |
PrintF("[deoptimizing: end 0x%08" V8PRIxPTR " ", |
reinterpret_cast<intptr_t>(function)); |
function->PrintName(); |
- PrintF(" => node=%u, pc=0x%08" V8PRIxPTR ", state=%s, took %0.3f ms]\n", |
+ PrintF(" => node=%u, pc=0x%08" V8PRIxPTR ", state=%s, alignment=%s," |
+ " took %0.3f ms]\n", |
node_id, |
output_[index]->GetPc(), |
FullCodeGenerator::State2String( |
static_cast<FullCodeGenerator::State>( |
output_[index]->GetState()->value())), |
+ has_alignment_padding_ ? "with padding" : "no padding", |
ms); |
} |
} |
@@ -769,7 +772,7 @@ void Deoptimizer::DoTranslateCommand(TranslationIterator* iterator, |
if (FLAG_trace_deopt) { |
PrintF(" 0x%08" V8PRIxPTR ": ", |
output_[frame_index]->GetTop() + output_offset); |
- PrintF("[top + %d] <- 0x%08" V8PRIxPTR " ; [esp + %d] ", |
+ PrintF("[top + %d] <- 0x%08" V8PRIxPTR " ; [sp + %d] ", |
output_offset, |
input_value, |
input_offset); |
@@ -789,7 +792,7 @@ void Deoptimizer::DoTranslateCommand(TranslationIterator* iterator, |
if (FLAG_trace_deopt) { |
PrintF(" 0x%08" V8PRIxPTR ": ", |
output_[frame_index]->GetTop() + output_offset); |
- PrintF("[top + %d] <- %" V8PRIdPTR " ; [esp + %d] (%s)\n", |
+ PrintF("[top + %d] <- %" V8PRIdPTR " ; [sp + %d] (%s)\n", |
output_offset, |
value, |
input_offset, |
@@ -815,7 +818,7 @@ void Deoptimizer::DoTranslateCommand(TranslationIterator* iterator, |
input_->GetOffsetFromSlotIndex(input_slot_index); |
double value = input_->GetDoubleFrameSlot(input_offset); |
if (FLAG_trace_deopt) { |
- PrintF(" 0x%08" V8PRIxPTR ": [top + %d] <- %e ; [esp + %d]\n", |
+ PrintF(" 0x%08" V8PRIxPTR ": [top + %d] <- %e ; [sp + %d]\n", |
output_[frame_index]->GetTop() + output_offset, |
output_offset, |
value, |