Index: src/code-stub-assembler.cc |
diff --git a/src/code-stub-assembler.cc b/src/code-stub-assembler.cc |
index 616f628c44966e6f851c89914eb8b912cbc85cef..9371fdacab37d732de8f93ecb082d8c08e931ecb 100644 |
--- a/src/code-stub-assembler.cc |
+++ b/src/code-stub-assembler.cc |
@@ -834,8 +834,7 @@ Node* CodeStubAssembler::AllocateJSArray(ElementsKind kind, Node* array_map, |
Heap* heap = isolate()->heap(); |
Node* array = Allocate(total_size); |
StoreMapNoWriteBarrier(array, array_map); |
- Node* empty_properties = |
- HeapConstant(Handle<HeapObject>(heap->empty_fixed_array())); |
+ Node* empty_properties = LoadRoot(Heap::kEmptyFixedArrayRootIndex); |
StoreObjectFieldNoWriteBarrier(array, JSArray::kPropertiesOffset, |
empty_properties); |
StoreObjectFieldNoWriteBarrier( |