Index: test/cctest/test-compiler.cc |
diff --git a/test/cctest/test-compiler.cc b/test/cctest/test-compiler.cc |
index b424b7f9e1483571ac7c6f9abd76572c50d1c390..9f21b78dd6dc570b42903a4f88f3e7e42cbff050 100644 |
--- a/test/cctest/test-compiler.cc |
+++ b/test/cctest/test-compiler.cc |
@@ -108,7 +108,7 @@ static void SetGlobalProperty(const char* name, Object* value) { |
Handle<Object> object(value); |
Handle<String> symbol = Factory::LookupAsciiSymbol(name); |
Handle<JSObject> global(Top::context()->global()); |
- SetProperty(global, symbol, object, NONE); |
+ SetProperty(global, symbol, object, NONE, kNonStrictMode); |
} |