Index: test/cctest/test-alloc.cc |
diff --git a/test/cctest/test-alloc.cc b/test/cctest/test-alloc.cc |
index 50e60da27177f4faa6bbe8d07a68af43c59d9b24..24c7f1fdccc9386d3aac109cfde5f98deb0ab6ff 100644 |
--- a/test/cctest/test-alloc.cc |
+++ b/test/cctest/test-alloc.cc |
@@ -155,7 +155,7 @@ TEST(StressJS) { |
FACTORY->NewStringFromAscii(Vector<const char>("get", 3)); |
ASSERT(instance_descriptors->IsEmpty()); |
- Handle<DescriptorArray> new_descriptors = FACTORY->NewDescriptorArray(1); |
+ Handle<DescriptorArray> new_descriptors = FACTORY->NewDescriptorArray(0, 1); |
v8::internal::DescriptorArray::WhitenessWitness witness(*new_descriptors); |
v8::internal::Map::SetDescriptors(map, new_descriptors); |