Index: test/cctest/test-mark-compact.cc |
diff --git a/test/cctest/test-mark-compact.cc b/test/cctest/test-mark-compact.cc |
index 86f105f2c971234f48641e82c00b5204a5ac2021..3e3175e7352d906b2a28d39901e108dc1cb6d8c5 100644 |
--- a/test/cctest/test-mark-compact.cc |
+++ b/test/cctest/test-mark-compact.cc |
@@ -189,7 +189,8 @@ TEST(MarkCompactCollector) { |
function->set_initial_map(initial_map); |
Top::context()->global()->SetProperty(func_name, |
function, |
- NONE)->ToObjectChecked(); |
+ NONE, |
+ kNonStrictMode)->ToObjectChecked(); |
JSObject* obj = |
JSObject::cast(Heap::AllocateJSObject(function)->ToObjectChecked()); |
@@ -208,10 +209,14 @@ TEST(MarkCompactCollector) { |
String::cast(Heap::LookupAsciiSymbol("theObject")->ToObjectChecked()); |
Top::context()->global()->SetProperty(obj_name, |
obj, |
- NONE)->ToObjectChecked(); |
+ NONE, |
+ kNonStrictMode)->ToObjectChecked(); |
String* prop_name = |
String::cast(Heap::LookupAsciiSymbol("theSlot")->ToObjectChecked()); |
- obj->SetProperty(prop_name, Smi::FromInt(23), NONE)->ToObjectChecked(); |
+ obj->SetProperty(prop_name, |
+ Smi::FromInt(23), |
+ NONE, |
+ kNonStrictMode)->ToObjectChecked(); |
Heap::CollectGarbage(OLD_POINTER_SPACE); |