Index: test/cctest/test-alloc.cc |
diff --git a/test/cctest/test-alloc.cc b/test/cctest/test-alloc.cc |
index f64ed1af199727c91af0d946bbeac6d9e3b08e08..50e60da27177f4faa6bbe8d07a68af43c59d9b24 100644 |
--- a/test/cctest/test-alloc.cc |
+++ b/test/cctest/test-alloc.cc |
@@ -158,7 +158,7 @@ TEST(StressJS) { |
Handle<DescriptorArray> new_descriptors = FACTORY->NewDescriptorArray(1); |
v8::internal::DescriptorArray::WhitenessWitness witness(*new_descriptors); |
- map->set_instance_descriptors(*new_descriptors); |
+ v8::internal::Map::SetDescriptors(map, new_descriptors); |
CallbacksDescriptor d(*name, |
*foreign, |