Index: src/compiler/representation-change.cc |
diff --git a/src/compiler/representation-change.cc b/src/compiler/representation-change.cc |
index 45c801f457e787926206a7e04d0059951c85026b..454b36e00972992533a1cebb727b510d171a42db 100644 |
--- a/src/compiler/representation-change.cc |
+++ b/src/compiler/representation-change.cc |
@@ -447,13 +447,10 @@ Node* RepresentationChanger::InsertConversion(Node* node, const Operator* op, |
Node* use_node) { |
if (op->ControlInputCount() > 0) { |
// If the operator can deoptimize (which means it has control |
- // input), we need to connect it to the effect and control chains |
- // and also provide it with a frame state. |
+ // input), we need to connect it to the effect and control chains. |
Node* effect = NodeProperties::GetEffectInput(use_node); |
Node* control = NodeProperties::GetControlInput(use_node); |
- Node* frame_state = NodeProperties::FindFrameStateBefore(use_node); |
- Node* conversion = |
- jsgraph()->graph()->NewNode(op, node, frame_state, effect, control); |
+ Node* conversion = jsgraph()->graph()->NewNode(op, node, effect, control); |
NodeProperties::ReplaceControlInput(use_node, control); |
NodeProperties::ReplaceEffectInput(use_node, effect); |
return conversion; |
@@ -559,8 +556,7 @@ Node* RepresentationChanger::GetCheckedWord32RepresentationFor( |
} |
if (op->ControlInputCount() > 0) { |
// If the operator can deoptimize (which means it has control |
- // input), we need to connect it to the effect and control chains |
- // and also provide it with a frame state. |
+ // input), we need to connect it to the effect and control chains. |
UNIMPLEMENTED(); |
} |
return jsgraph()->graph()->NewNode(op, node); |