Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index bfbadebf2df823508b0e92d21a28b91111cab721..85401914a6295b977bab06819b274f3726b972dd 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -255,6 +255,8 @@ void LCodeGen::GenerateOsrPrologue() { |
// optimized frame. |
int slots = GetStackSlotCount() - graph()->osr()->UnoptimizedFrameSlots(); |
DCHECK(slots >= 0); |
+ __ AdaptUnoptimizedFrameForOsrEntry(graph()->osr()->UnoptimizedFrameSlots(), |
+ rbx, rax); |
__ subp(rsp, Immediate(slots * kPointerSize)); |
} |