Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index a37935ad98ca32327de74c99165bc6b082e65f24..7228622030c35a7c5923a3f8e2754fff47dab97b 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -405,6 +405,8 @@ bool LCodeGen::GenerateJumpTable() { |
// inside the code body. |
Label push_approx_pc; |
__ call(&push_approx_pc); |
+ info()->LogDeoptCallPosition(masm()->pc_offset(), |
+ table_entry->deopt_info.inlining_id); |
__ bind(&push_approx_pc); |
// Push the continuation which was stashed were the ebp should |
// be. Replace it with the saved ebp. |
@@ -416,6 +418,8 @@ bool LCodeGen::GenerateJumpTable() { |
} else { |
if (info()->saves_caller_doubles()) RestoreCallerDoubles(); |
__ call(entry, RelocInfo::RUNTIME_ENTRY); |
+ info()->LogDeoptCallPosition(masm()->pc_offset(), |
+ table_entry->deopt_info.inlining_id); |
} |
} |
return !is_aborted(); |
@@ -868,6 +872,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_); |