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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins/builtins.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_BUILTINS_BUILTINS_H_ 5 #ifndef V8_BUILTINS_BUILTINS_H_
6 #define V8_BUILTINS_BUILTINS_H_ 6 #define V8_BUILTINS_BUILTINS_H_
7 7
8 #include "src/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/handles.h" 9 #include "src/handles.h"
10 10
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 CPP(ObjectGetPrototypeOf) \ 324 CPP(ObjectGetPrototypeOf) \
325 TFJ(ObjectHasOwnProperty, 2) \ 325 TFJ(ObjectHasOwnProperty, 2) \
326 CPP(ObjectIs) \ 326 CPP(ObjectIs) \
327 CPP(ObjectIsExtensible) \ 327 CPP(ObjectIsExtensible) \
328 CPP(ObjectIsFrozen) \ 328 CPP(ObjectIsFrozen) \
329 CPP(ObjectIsSealed) \ 329 CPP(ObjectIsSealed) \
330 CPP(ObjectKeys) \ 330 CPP(ObjectKeys) \
331 CPP(ObjectLookupGetter) \ 331 CPP(ObjectLookupGetter) \
332 CPP(ObjectLookupSetter) \ 332 CPP(ObjectLookupSetter) \
333 CPP(ObjectPreventExtensions) \ 333 CPP(ObjectPreventExtensions) \
334 TFJ(ObjectProtoToString, 1) \
334 CPP(ObjectPrototypePropertyIsEnumerable) \ 335 CPP(ObjectPrototypePropertyIsEnumerable) \
335 CPP(ObjectProtoToString) \
336 CPP(ObjectSeal) \ 336 CPP(ObjectSeal) \
337 CPP(ObjectValues) \ 337 CPP(ObjectValues) \
338 /* Proxy */ \ 338 /* Proxy */ \
339 CPP(ProxyConstructor) \ 339 CPP(ProxyConstructor) \
340 CPP(ProxyConstructor_ConstructStub) \ 340 CPP(ProxyConstructor_ConstructStub) \
341 /* Reflect */ \ 341 /* Reflect */ \
342 ASM(ReflectApply) \ 342 ASM(ReflectApply) \
343 ASM(ReflectConstruct) \ 343 ASM(ReflectConstruct) \
344 CPP(ReflectDefineProperty) \ 344 CPP(ReflectDefineProperty) \
345 CPP(ReflectDeleteProperty) \ 345 CPP(ReflectDeleteProperty) \
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 // ES6 section 25.3.1.2 Generator.prototype.next ( value ) 739 // ES6 section 25.3.1.2 Generator.prototype.next ( value )
740 static void Generate_GeneratorPrototypeNext(CodeStubAssembler* assembler); 740 static void Generate_GeneratorPrototypeNext(CodeStubAssembler* assembler);
741 // ES6 section 25.3.1.3 Generator.prototype.return ( value ) 741 // ES6 section 25.3.1.3 Generator.prototype.return ( value )
742 static void Generate_GeneratorPrototypeReturn(CodeStubAssembler* assembler); 742 static void Generate_GeneratorPrototypeReturn(CodeStubAssembler* assembler);
743 // ES6 section 25.3.1.4 Generator.prototype.throw ( exception ) 743 // ES6 section 25.3.1.4 Generator.prototype.throw ( exception )
744 static void Generate_GeneratorPrototypeThrow(CodeStubAssembler* assembler); 744 static void Generate_GeneratorPrototypeThrow(CodeStubAssembler* assembler);
745 745
746 // ES6 section 19.1.3.2 Object.prototype.hasOwnProperty 746 // ES6 section 19.1.3.2 Object.prototype.hasOwnProperty
747 static void Generate_ObjectHasOwnProperty(CodeStubAssembler* assembler); 747 static void Generate_ObjectHasOwnProperty(CodeStubAssembler* assembler);
748 748
749 // ES6 section 19.1.3.6 Object.prototype.toString ()
750 static void Generate_ObjectProtoToString(CodeStubAssembler* assembler);
751
749 // ES6 section 22.1.2.2 Array.isArray 752 // ES6 section 22.1.2.2 Array.isArray
750 static void Generate_ArrayIsArray(CodeStubAssembler* assembler); 753 static void Generate_ArrayIsArray(CodeStubAssembler* assembler);
751 754
752 // ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) 755 // ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits )
753 static void Generate_StringFromCharCode(CodeStubAssembler* assembler); 756 static void Generate_StringFromCharCode(CodeStubAssembler* assembler);
754 // ES6 section 21.1.3.1 String.prototype.charAt ( pos ) 757 // ES6 section 21.1.3.1 String.prototype.charAt ( pos )
755 static void Generate_StringPrototypeCharAt(CodeStubAssembler* assembler); 758 static void Generate_StringPrototypeCharAt(CodeStubAssembler* assembler);
756 // ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) 759 // ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos )
757 static void Generate_StringPrototypeCharCodeAt(CodeStubAssembler* assembler); 760 static void Generate_StringPrototypeCharCodeAt(CodeStubAssembler* assembler);
758 // ES6 section 21.1.3.25 String.prototype.toString () 761 // ES6 section 21.1.3.25 String.prototype.toString ()
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
830 friend class BuiltinFunctionTable; 833 friend class BuiltinFunctionTable;
831 friend class Isolate; 834 friend class Isolate;
832 835
833 DISALLOW_COPY_AND_ASSIGN(Builtins); 836 DISALLOW_COPY_AND_ASSIGN(Builtins);
834 }; 837 };
835 838
836 } // namespace internal 839 } // namespace internal
837 } // namespace v8 840 } // namespace v8
838 841
839 #endif // V8_BUILTINS_BUILTINS_H_ 842 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW
« 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