Index: src/compiler/osr.cc |
diff --git a/src/compiler/osr.cc b/src/compiler/osr.cc |
index 6c4c49de7981657e86ef4c253668ea4cc16a6b7c..663cf57808715cd5dad5fe99dfa9bc9071a34982 100644 |
--- a/src/compiler/osr.cc |
+++ b/src/compiler/osr.cc |
@@ -328,8 +328,6 @@ void OsrHelper::SetupFrame(Frame* frame) { |
// The optimized frame will subsume the unoptimized frame. Do so by reserving |
// the first spill slots. |
frame->ReserveSpillSlots(UnoptimizedFrameSlots()); |
- // The frame needs to be adjusted by the number of unoptimized frame slots. |
- frame->SetOsrStackSlotCount(static_cast<int>(UnoptimizedFrameSlots())); |
} |
} // namespace compiler |