Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index 6aabf78f849174a9d5c31a609d487e387b75ecca..db8db500369c6cc007bfae8433de0e6cc311c4fc 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -498,6 +498,11 @@ void JSGenericLowering::LowerJSCreateClosure(Node* node) { |
} |
+void JSGenericLowering::LowerJSCreateIterResultObject(Node* node) { |
+ ReplaceWithRuntimeCall(node, Runtime::kCreateIterResultObject); |
+} |
+ |
+ |
void JSGenericLowering::LowerJSCreateLiteralArray(Node* node) { |
CreateLiteralParameters const& p = CreateLiteralParametersOf(node->op()); |
node->InsertInput(zone(), 1, jsgraph()->SmiConstant(p.index())); |