Index: src/x87/lithium-codegen-x87.cc |
diff --git a/src/x87/lithium-codegen-x87.cc b/src/x87/lithium-codegen-x87.cc |
index 81c55154ed40b3aa85b38125031d534750e4e824..23ebcac7622a1c8fdb4b653100f9e8890c1d9418 100644 |
--- a/src/x87/lithium-codegen-x87.cc |
+++ b/src/x87/lithium-codegen-x87.cc |
@@ -402,6 +402,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. |
@@ -412,6 +414,8 @@ bool LCodeGen::GenerateJumpTable() { |
} |
} else { |
__ call(entry, RelocInfo::RUNTIME_ENTRY); |
+ info()->LogDeoptCallPosition(masm()->pc_offset(), |
+ table_entry->deopt_info.inlining_id); |
} |
} |
return !is_aborted(); |
@@ -1150,6 +1154,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_); |