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

Unified Diff: src/v8natives.js

Issue 1067933002: Use NumberIsNaN in collections.js and make it inlined (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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 | « src/collection.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/v8natives.js
diff --git a/src/v8natives.js b/src/v8natives.js
index 42ee7709d6cdf6fb8bc48763bb936041da1f0457..df6305e74de1ef9f930f5c32f65a899dfbdb2baa 100644
--- a/src/v8natives.js
+++ b/src/v8natives.js
@@ -1715,6 +1715,8 @@ function SetUpNumber() {
"parseInt", GlobalParseInt,
"parseFloat", GlobalParseFloat
));
+
+ %SetInlineBuiltinFlag(NumberIsNaN);
}
SetUpNumber();
« no previous file with comments | « src/collection.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698