Index: test/cctest/test-alloc.cc |
diff --git a/test/cctest/test-alloc.cc b/test/cctest/test-alloc.cc |
index 00ff86621e4e0f0d715719bd9b944aa6743eb997..3d8157d9557d802178051a5ac78c1a7685a30e89 100644 |
--- a/test/cctest/test-alloc.cc |
+++ b/test/cctest/test-alloc.cc |
@@ -91,7 +91,7 @@ static MaybeObject* AllocateAfterFailures() { |
// Test that we can allocate in old pointer space and code space. |
CHECK(!heap->AllocateFixedArray(100, TENURED)->IsFailure()); |
CHECK(!heap->CopyCode(Isolate::Current()->builtins()->builtin( |
- Builtins::Illegal))->IsFailure()); |
+ Builtins::kIllegal))->IsFailure()); |
// Return success. |
return Smi::FromInt(42); |
@@ -135,7 +135,7 @@ TEST(StressJS) { |
// something empty. |
FACTORY->NewJSObject(function); |
function->ReplaceCode(Isolate::Current()->builtins()->builtin( |
- Builtins::EmptyFunction)); |
+ Builtins::kEmptyFunction)); |
// Patch the map to have an accessor for "get". |
Handle<Map> map(function->initial_map()); |
Handle<DescriptorArray> instance_descriptors(map->instance_descriptors()); |