Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 31d6e3e00c2cc355bc8b2caaface11a6989d55bd..0ff8d21d5c8fc5bcd96d0e7de153e060b0d6254c 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1366,7 +1366,14 @@ bool Genesis::CompileExperimentalBuiltin(Isolate* isolate, int index) { |
isolate, source_code, |
factory->NewStringFromAscii(ExperimentalNatives::GetScriptSource(index)), |
false); |
- return CompileNative(isolate, name, source_code); |
+ |
+ // TODO(rossberg): The natives do not yet obey strong mode rules |
+ // (for example, some macros use '=='). |
+ bool use_strong = FLAG_use_strong; |
+ FLAG_use_strong = false; |
+ bool result = CompileNative(isolate, name, source_code); |
+ FLAG_use_strong = use_strong; |
+ return result; |
} |