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

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

Issue 2409513003: [regexp] Port remaining JS functions in regexp.js (Closed)
Patch Set: Format and Rebaseline Created 4 years, 2 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 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 CPP(RegExpCapture1Getter) \ 568 CPP(RegExpCapture1Getter) \
569 CPP(RegExpCapture2Getter) \ 569 CPP(RegExpCapture2Getter) \
570 CPP(RegExpCapture3Getter) \ 570 CPP(RegExpCapture3Getter) \
571 CPP(RegExpCapture4Getter) \ 571 CPP(RegExpCapture4Getter) \
572 CPP(RegExpCapture5Getter) \ 572 CPP(RegExpCapture5Getter) \
573 CPP(RegExpCapture6Getter) \ 573 CPP(RegExpCapture6Getter) \
574 CPP(RegExpCapture7Getter) \ 574 CPP(RegExpCapture7Getter) \
575 CPP(RegExpCapture8Getter) \ 575 CPP(RegExpCapture8Getter) \
576 CPP(RegExpCapture9Getter) \ 576 CPP(RegExpCapture9Getter) \
577 CPP(RegExpConstructor) \ 577 CPP(RegExpConstructor) \
578 CPP(RegExpInitialize) \
579 TFJ(RegExpInternalMatch, 3) \
580 TFJ(RegExpInternalReplace, 4) \
Yang 2016/10/13 11:51:11 I would have implemented internal match and replac
jgruber 2016/10/13 12:02:38 It's explained in the commit message why these two
578 CPP(RegExpInputGetter) \ 581 CPP(RegExpInputGetter) \
579 CPP(RegExpInputSetter) \ 582 CPP(RegExpInputSetter) \
583 CPP(RegExpIsRegExp) \
580 CPP(RegExpLastMatchGetter) \ 584 CPP(RegExpLastMatchGetter) \
581 CPP(RegExpLastParenGetter) \ 585 CPP(RegExpLastParenGetter) \
582 CPP(RegExpLeftContextGetter) \ 586 CPP(RegExpLeftContextGetter) \
583 CPP(RegExpPrototypeCompile) \ 587 CPP(RegExpPrototypeCompile) \
584 TFJ(RegExpPrototypeExec, 2) \ 588 TFJ(RegExpPrototypeExec, 2) \
585 TFJ(RegExpPrototypeFlagsGetter, 1) \ 589 TFJ(RegExpPrototypeFlagsGetter, 1) \
586 TFJ(RegExpPrototypeGlobalGetter, 1) \ 590 TFJ(RegExpPrototypeGlobalGetter, 1) \
587 TFJ(RegExpPrototypeIgnoreCaseGetter, 1) \ 591 TFJ(RegExpPrototypeIgnoreCaseGetter, 1) \
588 CPP(RegExpPrototypeMatch) \ 592 CPP(RegExpPrototypeMatch) \
589 TFJ(RegExpPrototypeMultilineGetter, 1) \ 593 TFJ(RegExpPrototypeMultilineGetter, 1) \
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 813
810 friend class Isolate; 814 friend class Isolate;
811 815
812 DISALLOW_COPY_AND_ASSIGN(Builtins); 816 DISALLOW_COPY_AND_ASSIGN(Builtins);
813 }; 817 };
814 818
815 } // namespace internal 819 } // namespace internal
816 } // namespace v8 820 } // namespace v8
817 821
818 #endif // V8_BUILTINS_BUILTINS_H_ 822 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698