Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 8b0fbc222fa798fe41593d7b3ced9d6dfd37f6c8..ed3e4b205fff5cc007951ce3e250b3fbb7f36660 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -395,6 +395,8 @@ bool LCodeGen::GenerateJumpTable() { |
if (info()->saves_caller_doubles()) RestoreCallerDoubles(); |
__ call(entry, RelocInfo::RUNTIME_ENTRY); |
} |
+ info()->LogDeoptCallPosition(masm()->pc_offset(), |
+ table_entry->deopt_info.inlining_id); |
} |
if (needs_frame.is_linked()) { |
__ bind(&needs_frame); |
@@ -888,6 +890,7 @@ void LCodeGen::DeoptimizeIf(Condition cc, LInstruction* instr, |
if (cc == no_condition && frame_is_built_) { |
DeoptComment(deopt_info); |
__ call(entry, RelocInfo::RUNTIME_ENTRY); |
+ info()->LogDeoptCallPosition(masm()->pc_offset(), deopt_info.inlining_id); |
} else { |
Deoptimizer::JumpTableEntry table_entry(entry, deopt_info, bailout_type, |
!frame_is_built_); |