Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index a760d1cd3abdaf82f88d0b532251917ae90bb514..e03a68c5db21f7785164e828e26ca811d20e3a00 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -225,8 +225,8 @@ void JSGenericLowering::ReplaceWithRuntimeCall(Node* node, |
Operator::Properties properties = node->op()->properties(); |
const Runtime::Function* fun = Runtime::FunctionForId(f); |
int nargs = (nargs_override < 0) ? fun->nargs : nargs_override; |
- CallDescriptor* desc = |
- Linkage::GetRuntimeCallDescriptor(zone(), f, nargs, properties); |
+ CallDescriptor* desc = Linkage::GetRuntimeCallDescriptor( |
+ zone(), f, nargs, properties, CallDescriptor::kNeedsFrameState); |
Node* ref = jsgraph()->ExternalConstant(ExternalReference(f, isolate())); |
Node* arity = jsgraph()->Int32Constant(nargs); |
node->InsertInput(zone(), 0, jsgraph()->CEntryStubConstant(fun->result_size)); |
@@ -626,7 +626,8 @@ void JSGenericLowering::LowerJSForInPrepare(Node* node) { |
Runtime::Function const* function = |
Runtime::FunctionForId(Runtime::kGetPropertyNamesFast); |
CallDescriptor const* descriptor = Linkage::GetRuntimeCallDescriptor( |
- zone(), function->function_id, 1, Operator::kNoProperties); |
+ zone(), function->function_id, 1, Operator::kNoProperties, |
+ CallDescriptor::kNeedsFrameState); |
Node* cache_type = effect = graph()->NewNode( |
common()->Call(descriptor), |
jsgraph()->CEntryStubConstant(function->result_size), object, |