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

Unified Diff: src/builtins/builtins.h

Issue 2134803002: [builtins] Object.prototype.toString() as TurboFan stub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase 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/bootstrapper.cc ('k') | src/builtins/builtins.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/builtins.h
diff --git a/src/builtins/builtins.h b/src/builtins/builtins.h
index 11bc9778bf001cd5d8bbf2f5fb0d42bb9fae4f7f..6ee9d53dac8d77320405da7307f64c1a9d53c55c 100644
--- a/src/builtins/builtins.h
+++ b/src/builtins/builtins.h
@@ -331,8 +331,8 @@ namespace internal {
CPP(ObjectLookupGetter) \
CPP(ObjectLookupSetter) \
CPP(ObjectPreventExtensions) \
+ TFJ(ObjectProtoToString, 1) \
CPP(ObjectPrototypePropertyIsEnumerable) \
- CPP(ObjectProtoToString) \
CPP(ObjectSeal) \
CPP(ObjectValues) \
/* Proxy */ \
@@ -746,6 +746,9 @@ class Builtins {
// ES6 section 19.1.3.2 Object.prototype.hasOwnProperty
static void Generate_ObjectHasOwnProperty(CodeStubAssembler* assembler);
+ // ES6 section 19.1.3.6 Object.prototype.toString ()
+ static void Generate_ObjectProtoToString(CodeStubAssembler* assembler);
+
// ES6 section 22.1.2.2 Array.isArray
static void Generate_ArrayIsArray(CodeStubAssembler* assembler);
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698