Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 204030f5befb26690f1a244f9ae56bd2f964e30c..ffa0c4cd0fc668a367ea0a97df0542f684021360 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -317,6 +317,8 @@ bool LCodeGen::GenerateJumpTable() { |
} |
__ call(entry, RelocInfo::RUNTIME_ENTRY); |
} |
+ info()->LogDeoptCallPosition(masm()->pc_offset(), |
+ table_entry->deopt_info.inlining_id); |
} |
if (needs_frame.is_linked()) { |
@@ -358,7 +360,7 @@ bool LCodeGen::GenerateJumpTable() { |
__ Move(MemOperand(rsp, 2 * kPointerSize), Smi::FromInt(StackFrame::STUB)); |
/* stack layout |
- 4: old ebp |
+ 4: old rbp |
3: context pointer |
2: stub marker |
1: return address |
@@ -811,6 +813,7 @@ void LCodeGen::DeoptimizeIf(Condition cc, LInstruction* instr, |
!info()->saves_caller_doubles()) { |
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_); |