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

Unified Diff: src/code-stub-assembler.h

Issue 2327703003: [builtins] Migrate ToNumber to TurboFan. (Closed)
Patch Set: Rebase Created 4 years, 3 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/builtins/x87/builtins-x87.cc ('k') | src/code-stub-assembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stub-assembler.h
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h
index b217353f7d47f8cd884e2d220d27681e37aa3125..7252a1dcbb3debb6434a3efcb4456c6e17ac3417 100644
--- a/src/code-stub-assembler.h
+++ b/src/code-stub-assembler.h
@@ -431,6 +431,11 @@ class CodeStubAssembler : public compiler::CodeAssembler {
compiler::Node* input);
// Convert an object to a name.
compiler::Node* ToName(compiler::Node* context, compiler::Node* input);
+ // Convert a Non-Number object to a Number.
+ compiler::Node* NonNumberToNumber(compiler::Node* context,
+ compiler::Node* input);
+ // Convert any object to a Number.
+ compiler::Node* ToNumber(compiler::Node* context, compiler::Node* input);
// Returns a node that contains a decoded (unsigned!) value of a bit
// field |T| in |word32|. Returns result as an uint32 node.
« no previous file with comments | « src/builtins/x87/builtins-x87.cc ('k') | src/code-stub-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698