Index: src/arm64/lithium-codegen-arm64.cc |
diff --git a/src/arm64/lithium-codegen-arm64.cc b/src/arm64/lithium-codegen-arm64.cc |
index cd331db249fab802b9e00d1e400f2bc34bd0ca69..7ace06b9d162b92da4c808d6d56a95d77e2809a5 100644 |
--- a/src/arm64/lithium-codegen-arm64.cc |
+++ b/src/arm64/lithium-codegen-arm64.cc |
@@ -769,6 +769,8 @@ void LCodeGen::GenerateOsrPrologue() { |
// optimized frame. |
int slots = GetStackSlotCount() - graph()->osr()->UnoptimizedFrameSlots(); |
DCHECK(slots >= 0); |
+ __ AdaptUnoptimizedFrameForOsrEntry(graph()->osr()->UnoptimizedFrameSlots(), |
+ x2, x0); |
__ Claim(slots); |
} |