Index: test/cctest/test-alloc.cc |
diff --git a/test/cctest/test-alloc.cc b/test/cctest/test-alloc.cc |
index 24c7f1fdccc9386d3aac109cfde5f98deb0ab6ff..7ba2583da584023d9fe2c9e06ebf9999c80482ac 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(0, 1); |
v8::internal::DescriptorArray::WhitenessWitness witness(*new_descriptors); |
- v8::internal::Map::SetDescriptors(map, new_descriptors); |
+ map->set_instance_descriptors(*new_descriptors); |
CallbacksDescriptor d(*name, |
*foreign, |