Index: test/cctest/test-alloc.cc |
diff --git a/test/cctest/test-alloc.cc b/test/cctest/test-alloc.cc |
index 864eb12b6a82a5bce084240d15345f8e44cc5636..6d72494e84b80554fb3fd94dd7ed7361fb53f92f 100644 |
--- a/test/cctest/test-alloc.cc |
+++ b/test/cctest/test-alloc.cc |
@@ -154,7 +154,7 @@ TEST(StressJS) { |
Handle<DescriptorArray> instance_descriptors(map->instance_descriptors()); |
DCHECK(instance_descriptors->IsEmpty()); |
- PropertyAttributes attrs = static_cast<PropertyAttributes>(0); |
+ PropertyAttributes attrs = NONE; |
Handle<AccessorInfo> foreign = TestAccessorInfo(isolate, attrs); |
Map::EnsureDescriptorSlack(map, 1); |