Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index 9a9f0d5f126f7b5e0a446544537dfbaaab8b9f29..04030c1e2e2d8bbf6b510d7c3f5e5938284b1bca 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -538,7 +538,7 @@ HValue* CodeStubGraphBuilder<ArrayNoArgumentConstructorStub>::BuildCodeStub() { |
this, |
casted_stub()->elements_kind(), |
GetParameter(ArrayConstructorStubBase::kPropertyCell), |
- casted_stub()->mode()); |
+ casted_stub()->disable_allocation_sites()); |
return array_builder.AllocateEmptyArray(); |
} |
@@ -590,7 +590,7 @@ HValue* CodeStubGraphBuilder<ArraySingleArgumentConstructorStub>:: |
this, |
casted_stub()->elements_kind(), |
GetParameter(ArrayConstructorStubBase::kPropertyCell), |
- casted_stub()->mode()); |
+ casted_stub()->disable_allocation_sites()); |
return array_builder.AllocateArray(capacity, length, true); |
} |
@@ -613,7 +613,7 @@ HValue* CodeStubGraphBuilder<ArrayNArgumentsConstructorStub>::BuildCodeStub() { |
this, |
kind, |
GetParameter(ArrayConstructorStubBase::kPropertyCell), |
- casted_stub()->mode()); |
+ casted_stub()->disable_allocation_sites()); |
// We need to fill with the hole if it's a smi array in the multi-argument |
// case because we might have to bail out while copying arguments into |