Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Unified Diff: src/bootstrapper.cc

Issue 917703003: [strong] no sloppy equality (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/d8.cc » ('j') | src/messages.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « no previous file | src/d8.cc » ('j') | src/messages.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698