Index: src/compiler/instruction-selector.cc |
diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc |
index 86b8c10ff238095b7b66c00d16c11ebb77c9c03e..b21990a2f2c45679484a1a64a3f0b6bb70d53336 100644 |
--- a/src/compiler/instruction-selector.cc |
+++ b/src/compiler/instruction-selector.cc |
@@ -369,7 +369,9 @@ InstructionOperand OperandForDeopt(OperandGenerator* g, Node* input, |
case FrameStateInputKind::kStackSlot: |
return g->UseUniqueSlot(input); |
case FrameStateInputKind::kAny: |
- return g->UseAny(input); |
+ // Currently deopts "wrap" other operations, so the deopt's inputs |
+ // are potentially needed untill the end of the deoptimising code. |
+ return g->UseAnyAtEnd(input); |
} |
} |
} |