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

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

Issue 2315343002: [builtins] Move StringNormalize to a cpp builtin. (Closed)
Patch Set: take 2 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
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 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 /* String */ \ 526 /* String */ \
527 ASM(StringConstructor) \ 527 ASM(StringConstructor) \
528 ASM(StringConstructor_ConstructStub) \ 528 ASM(StringConstructor_ConstructStub) \
529 CPP(StringFromCodePoint) \ 529 CPP(StringFromCodePoint) \
530 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \ 530 /* ES6 section 21.1.2.1 String.fromCharCode ( ...codeUnits ) */ \
531 TFJ(StringFromCharCode, 2) \ 531 TFJ(StringFromCharCode, 2) \
532 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \ 532 /* ES6 section 21.1.3.1 String.prototype.charAt ( pos ) */ \
533 TFJ(StringPrototypeCharAt, 2) \ 533 TFJ(StringPrototypeCharAt, 2) \
534 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \ 534 /* ES6 section 21.1.3.2 String.prototype.charCodeAt ( pos ) */ \
535 TFJ(StringPrototypeCharCodeAt, 2) \ 535 TFJ(StringPrototypeCharCodeAt, 2) \
536 /* ECMA-262 v6, section 21.1.3.12 String.prototype.normalize ( [form] ) */ \
537 CPP(StringPrototypeNormalize) \
536 /* ES6 section 21.1.3.25 String.prototype.toString () */ \ 538 /* ES6 section 21.1.3.25 String.prototype.toString () */ \
537 TFJ(StringPrototypeToString, 1) \ 539 TFJ(StringPrototypeToString, 1) \
538 CPP(StringPrototypeTrim) \ 540 CPP(StringPrototypeTrim) \
539 CPP(StringPrototypeTrimLeft) \ 541 CPP(StringPrototypeTrimLeft) \
540 CPP(StringPrototypeTrimRight) \ 542 CPP(StringPrototypeTrimRight) \
541 /* ES6 section 21.1.3.28 String.prototype.valueOf () */ \ 543 /* ES6 section 21.1.3.28 String.prototype.valueOf () */ \
542 TFJ(StringPrototypeValueOf, 1) \ 544 TFJ(StringPrototypeValueOf, 1) \
543 \ 545 \
544 /* Symbol */ \ 546 /* Symbol */ \
545 CPP(SymbolConstructor) \ 547 CPP(SymbolConstructor) \
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
701 703
702 friend class Isolate; 704 friend class Isolate;
703 705
704 DISALLOW_COPY_AND_ASSIGN(Builtins); 706 DISALLOW_COPY_AND_ASSIGN(Builtins);
705 }; 707 };
706 708
707 } // namespace internal 709 } // namespace internal
708 } // namespace v8 710 } // namespace v8
709 711
710 #endif // V8_BUILTINS_BUILTINS_H_ 712 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698