Index: src/crankshaft/hydrogen.cc |
diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc |
index 79bbbc34e231ad9b68dd0765dcd43d9bef0c48f3..2f1b2cce8915d491a0cab9d484b5c568144cc915 100644 |
--- a/src/crankshaft/hydrogen.cc |
+++ b/src/crankshaft/hydrogen.cc |
@@ -1827,7 +1827,7 @@ HValue* HGraphBuilder::BuildCreateIterResultObject(HValue* value, |
// Allocate the JSIteratorResult object. |
HValue* result = |
Add<HAllocate>(Add<HConstant>(JSIteratorResult::kSize), HType::JSObject(), |
- NOT_TENURED, JS_ITERATOR_RESULT_TYPE); |
+ NOT_TENURED, JS_OBJECT_TYPE); |
// Initialize the JSIteratorResult object. |
HValue* native_context = BuildGetNativeContext(); |