Index: src/compiler/js-create-lowering.cc |
diff --git a/src/compiler/js-create-lowering.cc b/src/compiler/js-create-lowering.cc |
index 11e07d626575fd3648b2c22db71a904400ba82c4..f8ac78326022ab98d11f1bf1d8983ee6bcc853e2 100644 |
--- a/src/compiler/js-create-lowering.cc |
+++ b/src/compiler/js-create-lowering.cc |
@@ -311,11 +311,10 @@ Reduction JSCreateLowering::ReduceJSCreateArguments(Node* node) { |
Operator::Properties properties = node->op()->properties(); |
CallDescriptor* desc = Linkage::GetStubCallDescriptor( |
isolate(), graph()->zone(), callable.descriptor(), 0, |
- CallDescriptor::kNoFlags, properties); |
+ CallDescriptor::kNeedsFrameState, properties); |
const Operator* new_op = common()->Call(desc); |
Node* stub_code = jsgraph()->HeapConstant(callable.code()); |
node->InsertInput(graph()->zone(), 0, stub_code); |
- node->RemoveInput(3); // Remove the frame state. |
NodeProperties::ChangeOp(node, new_op); |
return Changed(node); |
} |
@@ -324,11 +323,10 @@ Reduction JSCreateLowering::ReduceJSCreateArguments(Node* node) { |
Operator::Properties properties = node->op()->properties(); |
CallDescriptor* desc = Linkage::GetStubCallDescriptor( |
isolate(), graph()->zone(), callable.descriptor(), 0, |
- CallDescriptor::kNoFlags, properties); |
+ CallDescriptor::kNeedsFrameState, properties); |
const Operator* new_op = common()->Call(desc); |
Node* stub_code = jsgraph()->HeapConstant(callable.code()); |
node->InsertInput(graph()->zone(), 0, stub_code); |
- node->RemoveInput(3); // Remove the frame state. |
NodeProperties::ChangeOp(node, new_op); |
return Changed(node); |
} |