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

Side by Side Diff: src/builtins/builtins.h

Issue 2315343002: [builtins] Move StringNormalize to a cpp builtin. (Closed)
Patch Set: Fix crash caused by ToString on unassigned var 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 unified diff | Download patch
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins/builtins-string.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 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 /* String */ \ 527 /* String */ \
528 ASM(StringConstructor) \ 528 ASM(StringConstructor) \
529 ASM(StringConstructor_ConstructStub) \ 529 ASM(StringConstructor_ConstructStub) \
530 CPP(StringFromCodePoint) \ 530 CPP(StringFromCodePoint) \
531 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ 531 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \
532 TFJ(StringFromCharCode, 2) \ 532 TFJ(StringFromCharCode, 2) \
533 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \ 533 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \
534 TFJ(StringPrototypeCharAt, 2) \ 534 TFJ(StringPrototypeCharAt, 2) \
535 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ 535 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \
536 TFJ(StringPrototypeCharCodeAt, 2) \ 536 TFJ(StringPrototypeCharCodeAt, 2) \
537 /* ES6 section 21.1.3.12 String.prototype.normalize ( [form] ) */ \
538 CPP(StringPrototypeNormalize) \
537 /* ES6 section 21.1.3.25 String.prototype.toString () */ \ 539 /* ES6 section 21.1.3.25 String.prototype.toString () */ \
538 TFJ(StringPrototypeToString, 1) \ 540 TFJ(StringPrototypeToString, 1) \
539 CPP(StringPrototypeTrim) \ 541 CPP(StringPrototypeTrim) \
540 CPP(StringPrototypeTrimLeft) \ 542 CPP(StringPrototypeTrimLeft) \
541 CPP(StringPrototypeTrimRight) \ 543 CPP(StringPrototypeTrimRight) \
542 /* ES6 section 21.1.3.28 String.prototype.valueOf () */ \ 544 /* ES6 section 21.1.3.28 String.prototype.valueOf () */ \
543 TFJ(StringPrototypeValueOf, 1) \ 545 TFJ(StringPrototypeValueOf, 1) \
544 \ 546 \
545 /* Symbol */ \ 547 /* Symbol */ \
546 CPP(SymbolConstructor) \ 548 CPP(SymbolConstructor) \
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 704
703 friend class Isolate; 705 friend class Isolate;
704 706
705 DISALLOW_COPY_AND_ASSIGN(Builtins); 707 DISALLOW_COPY_AND_ASSIGN(Builtins);
706 }; 708 };
707 709
708 } // namespace internal 710 } // namespace internal
709 } // namespace v8 711 } // namespace v8
710 712
711 #endif // V8_BUILTINS_BUILTINS_H_ 713 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins/builtins-string.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698