Index: test/cctest/test-mark-compact.cc |
diff --git a/test/cctest/test-mark-compact.cc b/test/cctest/test-mark-compact.cc |
index 1790a0d19671a1d4e844673222b1f30c44d55e03..89bc7966c4421361358895522541bce904609804 100644 |
--- a/test/cctest/test-mark-compact.cc |
+++ b/test/cctest/test-mark-compact.cc |
@@ -158,7 +158,7 @@ TEST(MarkCompactCollector) { |
// allocate a garbage |
Handle<String> func_name = factory->InternalizeUtf8String("theFunction"); |
Handle<JSFunction> function = factory->NewFunction(func_name); |
- JSReceiver::SetProperty(global, func_name, function, NONE, SLOPPY).Check(); |
+ JSReceiver::SetProperty(global, func_name, function, SLOPPY).Check(); |
factory->NewJSObject(function); |
} |
@@ -175,10 +175,10 @@ TEST(MarkCompactCollector) { |
Handle<JSObject> obj = factory->NewJSObject(function); |
Handle<String> obj_name = factory->InternalizeUtf8String("theObject"); |
- JSReceiver::SetProperty(global, obj_name, obj, NONE, SLOPPY).Check(); |
+ JSReceiver::SetProperty(global, obj_name, obj, SLOPPY).Check(); |
Handle<String> prop_name = factory->InternalizeUtf8String("theSlot"); |
Handle<Smi> twenty_three(Smi::FromInt(23), isolate); |
- JSReceiver::SetProperty(obj, prop_name, twenty_three, NONE, SLOPPY).Check(); |
+ JSReceiver::SetProperty(obj, prop_name, twenty_three, SLOPPY).Check(); |
} |
heap->CollectGarbage(OLD_POINTER_SPACE, "trigger 5"); |