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

Unified Diff: src/objects.h

Issue 2125583002: [turbofan] Recognize fast path for Number.parseInt. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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/compiler/js-builtin-reducer.cc ('k') | src/type-cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 98351eaa39562a57e22a25812f8cbd866d96cf8b..c71450328dbb7b7f4be918095a3cd49a3f0bdc8a 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -6756,7 +6756,8 @@ class Script: public Struct {
V(Math, imul, MathImul) \
V(Math, clz32, MathClz32) \
V(Math, fround, MathFround) \
- V(Math, trunc, MathTrunc)
+ V(Math, trunc, MathTrunc) \
+ V(Number, parseInt, NumberParseInt)
#define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) \
V(Atomics, load, AtomicsLoad) \
« no previous file with comments | « src/compiler/js-builtin-reducer.cc ('k') | src/type-cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698