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

Side by Side Diff: src/builtins.h

Issue 1877263002: Revert of [builtins] Migrate String.prototype.charCodeAt and String.prototype.charAt to TurboFan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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.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_H_ 5 #ifndef V8_BUILTINS_H_
6 #define V8_BUILTINS_H_ 6 #define V8_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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 #define BUILTIN_LIST_T(V) \ 306 #define BUILTIN_LIST_T(V) \
307 V(GeneratorPrototypeNext, 2) \ 307 V(GeneratorPrototypeNext, 2) \
308 V(GeneratorPrototypeReturn, 2) \ 308 V(GeneratorPrototypeReturn, 2) \
309 V(GeneratorPrototypeThrow, 2) \ 309 V(GeneratorPrototypeThrow, 2) \
310 V(MathCeil, 2) \ 310 V(MathCeil, 2) \
311 V(MathClz32, 2) \ 311 V(MathClz32, 2) \
312 V(MathFloor, 2) \ 312 V(MathFloor, 2) \
313 V(MathRound, 2) \ 313 V(MathRound, 2) \
314 V(MathSqrt, 2) \ 314 V(MathSqrt, 2) \
315 V(MathTrunc, 2) \ 315 V(MathTrunc, 2) \
316 V(ObjectHasOwnProperty, 2) \ 316 V(ObjectHasOwnProperty, 2)
317 V(StringPrototypeCharAt, 2) \
318 V(StringPrototypeCharCodeAt, 2)
319 317
320 // Define list of builtin handlers implemented in assembly. 318 // Define list of builtin handlers implemented in assembly.
321 #define BUILTIN_LIST_H(V) \ 319 #define BUILTIN_LIST_H(V) \
322 V(LoadIC_Slow, LOAD_IC) \ 320 V(LoadIC_Slow, LOAD_IC) \
323 V(KeyedLoadIC_Slow, KEYED_LOAD_IC) \ 321 V(KeyedLoadIC_Slow, KEYED_LOAD_IC) \
324 V(StoreIC_Slow, STORE_IC) \ 322 V(StoreIC_Slow, STORE_IC) \
325 V(KeyedStoreIC_Slow, KEYED_STORE_IC) \ 323 V(KeyedStoreIC_Slow, KEYED_STORE_IC) \
326 V(LoadIC_Normal, LOAD_IC) \ 324 V(LoadIC_Normal, LOAD_IC) \
327 V(StoreIC_Normal, STORE_IC) 325 V(StoreIC_Normal, STORE_IC)
328 326
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
624 static void Generate_GeneratorPrototypeReturn( 622 static void Generate_GeneratorPrototypeReturn(
625 compiler::CodeStubAssembler* assembler); 623 compiler::CodeStubAssembler* assembler);
626 // ES6 section 25.3.1.4 Generator.prototype.throw ( exception ) 624 // ES6 section 25.3.1.4 Generator.prototype.throw ( exception )
627 static void Generate_GeneratorPrototypeThrow( 625 static void Generate_GeneratorPrototypeThrow(
628 compiler::CodeStubAssembler* assembler); 626 compiler::CodeStubAssembler* assembler);
629 627
630 // ES6 section 19.1.3.2 Object.prototype.hasOwnProperty 628 // ES6 section 19.1.3.2 Object.prototype.hasOwnProperty
631 static void Generate_ObjectHasOwnProperty( 629 static void Generate_ObjectHasOwnProperty(
632 compiler::CodeStubAssembler* assembler); 630 compiler::CodeStubAssembler* assembler);
633 631
634 // ES6 section 21.1.3.1 String.prototype.charAt ( pos )
635 static void Generate_StringPrototypeCharAt(
636 compiler::CodeStubAssembler* assembler);
637 // ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos )
638 static void Generate_StringPrototypeCharCodeAt(
639 compiler::CodeStubAssembler* assembler);
640
641 static void Generate_StringConstructor(MacroAssembler* masm); 632 static void Generate_StringConstructor(MacroAssembler* masm);
642 static void Generate_StringConstructor_ConstructStub(MacroAssembler* masm); 633 static void Generate_StringConstructor_ConstructStub(MacroAssembler* masm);
643 static void Generate_OnStackReplacement(MacroAssembler* masm); 634 static void Generate_OnStackReplacement(MacroAssembler* masm);
644 static void Generate_InterruptCheck(MacroAssembler* masm); 635 static void Generate_InterruptCheck(MacroAssembler* masm);
645 static void Generate_StackCheck(MacroAssembler* masm); 636 static void Generate_StackCheck(MacroAssembler* masm);
646 637
647 static void Generate_InterpreterEntryTrampoline(MacroAssembler* masm); 638 static void Generate_InterpreterEntryTrampoline(MacroAssembler* masm);
648 static void Generate_InterpreterExitTrampoline(MacroAssembler* masm); 639 static void Generate_InterpreterExitTrampoline(MacroAssembler* masm);
649 static void Generate_InterpreterPushArgsAndCall(MacroAssembler* masm) { 640 static void Generate_InterpreterPushArgsAndCall(MacroAssembler* masm) {
650 return Generate_InterpreterPushArgsAndCallImpl(masm, 641 return Generate_InterpreterPushArgsAndCallImpl(masm,
(...skipping 29 matching lines...) Expand all
680 friend class BuiltinFunctionTable; 671 friend class BuiltinFunctionTable;
681 friend class Isolate; 672 friend class Isolate;
682 673
683 DISALLOW_COPY_AND_ASSIGN(Builtins); 674 DISALLOW_COPY_AND_ASSIGN(Builtins);
684 }; 675 };
685 676
686 } // namespace internal 677 } // namespace internal
687 } // namespace v8 678 } // namespace v8
688 679
689 #endif // V8_BUILTINS_H_ 680 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698