Index: test/cctest/test-compiler.cc |
diff --git a/test/cctest/test-compiler.cc b/test/cctest/test-compiler.cc |
index ae414d78434d3290fd086a1bef9c2a094b66417c..d5b6ec782a548c7ac6f484634c17b99a0ea6a42d 100644 |
--- a/test/cctest/test-compiler.cc |
+++ b/test/cctest/test-compiler.cc |
@@ -51,7 +51,7 @@ static void SetGlobalProperty(const char* name, Object* value) { |
isolate->factory()->InternalizeUtf8String(name); |
Handle<JSObject> global(isolate->context()->global_object()); |
Runtime::SetObjectProperty(isolate, global, internalized_name, object, NONE, |
- kNonStrictMode); |
+ kSloppyMode); |
} |