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

Unified Diff: src/builtins.h

Issue 2051113002: [stubs] ToNumberStub --> ToNumber builtin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix full-code on non-x64 platforms Created 4 years, 6 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/arm64/code-stubs-arm64.cc ('k') | src/code-factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins.h
diff --git a/src/builtins.h b/src/builtins.h
index 9ea145736af937df605376afe8c39ed0f16f10df..66d0aa80e8e13642d8f14e655e0ff1cee9413e70 100644
--- a/src/builtins.h
+++ b/src/builtins.h
@@ -231,6 +231,8 @@ inline bool operator&(BuiltinExtraArguments lhs, BuiltinExtraArguments rhs) {
V(Construct, BUILTIN, UNINITIALIZED, kNoExtraICState) \
\
V(StringToNumber, BUILTIN, UNINITIALIZED, kNoExtraICState) \
+ V(NonNumberToNumber, BUILTIN, UNINITIALIZED, kNoExtraICState) \
+ V(ToNumber, BUILTIN, UNINITIALIZED, kNoExtraICState) \
\
V(Apply, BUILTIN, UNINITIALIZED, kNoExtraICState) \
\
@@ -494,6 +496,8 @@ class Builtins {
static void Generate_NotifyStubFailureSaveDoubles(MacroAssembler* masm);
static void Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm);
static void Generate_StringToNumber(MacroAssembler* masm);
+ static void Generate_NonNumberToNumber(MacroAssembler* masm);
+ static void Generate_ToNumber(MacroAssembler* masm);
static void Generate_Apply(MacroAssembler* masm);
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/code-factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698