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

Unified Diff: src/code-factory.h

Issue 2152693002: [stubs] Introduce NonPrimitiveToPrimitive builtin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address comments. 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/builtins/builtins.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/code-factory.h
diff --git a/src/code-factory.h b/src/code-factory.h
index 1935d0b695ac9718d2569dd936dce2ac98740067..b6bbe8c305e1024db3b448a02373c3c545ad08e1 100644
--- a/src/code-factory.h
+++ b/src/code-factory.h
@@ -65,6 +65,8 @@ class CodeFactory final {
// code-stubs.h.
static Callable InstanceOf(Isolate* isolate);
+ static Callable GetProperty(Isolate* isolate);
+
static Callable ToBoolean(Isolate* isolate);
static Callable ToNumber(Isolate* isolate);
@@ -75,6 +77,10 @@ class CodeFactory final {
static Callable ToInteger(Isolate* isolate);
static Callable ToLength(Isolate* isolate);
static Callable ToObject(Isolate* isolate);
+ static Callable NonPrimitiveToPrimitive(
+ Isolate* isolate, ToPrimitiveHint hint = ToPrimitiveHint::kDefault);
+ static Callable OrdinaryToPrimitive(Isolate* isolate,
+ OrdinaryToPrimitiveHint hint);
static Callable NumberToString(Isolate* isolate);
static Callable RegExpConstructResult(Isolate* isolate);
« no previous file with comments | « src/builtins/builtins.cc ('k') | src/code-factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698