Index: src/code-stub-assembler.cc |
diff --git a/src/code-stub-assembler.cc b/src/code-stub-assembler.cc |
index 6d0f6e4065372e0fae1076e1e76911459873710b..576504a552ffa68186f35266bce56cee1650afd4 100644 |
--- a/src/code-stub-assembler.cc |
+++ b/src/code-stub-assembler.cc |
@@ -1899,12 +1899,13 @@ Node* CodeStubAssembler::AllocateNameDictionary(Node* at_least_space_for) { |
} |
Node* CodeStubAssembler::AllocateJSObjectFromMap(Node* map, Node* properties, |
- Node* elements) { |
+ Node* elements, |
+ AllocationFlags flags) { |
CSA_ASSERT(this, IsMap(map)); |
Node* size = |
IntPtrMul(LoadMapInstanceSize(map), IntPtrConstant(kPointerSize)); |
CSA_ASSERT(this, IsRegularHeapObjectSize(size)); |
- Node* object = Allocate(size); |
+ Node* object = Allocate(size, flags); |
StoreMapNoWriteBarrier(object, map); |
InitializeJSObjectFromMap(object, map, size, properties, elements); |
return object; |