Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index 46d85514559d16a13a0abf7edab17649c0d9abfc..29f650d71d352a913f9cd8dd2c6ecdbfb7950431 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -1420,7 +1420,7 @@ HValue* CodeStubGraphBuilder<FastNewContextStub>::BuildCodeStub() { |
// Allocate the context in new space. |
HAllocate* function_context = Add<HAllocate>( |
Add<HConstant>(length * kPointerSize + FixedArray::kHeaderSize), |
- HType::Tagged(), NOT_TENURED, FIXED_ARRAY_TYPE); |
+ HType::HeapObject(), NOT_TENURED, FIXED_ARRAY_TYPE); |
// Set up the object header. |
AddStoreMapConstant(function_context, |