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

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

Issue 2339123002: [builtins] Move StringLastIndexOf to a builtin. (Closed)
Patch Set: variable renaming 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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_RUNTIME_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 779 matching lines...) Expand 10 before | Expand all | Expand 10 after
790 F(Bool8x16AnyTrue, 1, 1) \ 790 F(Bool8x16AnyTrue, 1, 1) \
791 F(Bool8x16AllTrue, 1, 1) \ 791 F(Bool8x16AllTrue, 1, 1) \
792 F(Bool8x16Swizzle, 17, 1) \ 792 F(Bool8x16Swizzle, 17, 1) \
793 F(Bool8x16Shuffle, 18, 1) \ 793 F(Bool8x16Shuffle, 18, 1) \
794 F(Bool8x16Equal, 2, 1) \ 794 F(Bool8x16Equal, 2, 1) \
795 F(Bool8x16NotEqual, 2, 1) 795 F(Bool8x16NotEqual, 2, 1)
796 796
797 #define FOR_EACH_INTRINSIC_STRINGS(F) \ 797 #define FOR_EACH_INTRINSIC_STRINGS(F) \
798 F(StringReplaceOneCharWithString, 3, 1) \ 798 F(StringReplaceOneCharWithString, 3, 1) \
799 F(StringIndexOf, 3, 1) \ 799 F(StringIndexOf, 3, 1) \
800 F(StringLastIndexOf, 3, 1) \
801 F(SubString, 3, 1) \ 800 F(SubString, 3, 1) \
802 F(StringAdd, 2, 1) \ 801 F(StringAdd, 2, 1) \
803 F(InternalizeString, 1, 1) \ 802 F(InternalizeString, 1, 1) \
804 F(StringMatch, 3, 1) \ 803 F(StringMatch, 3, 1) \
805 F(StringCharCodeAtRT, 2, 1) \ 804 F(StringCharCodeAtRT, 2, 1) \
806 F(StringCompare, 2, 1) \ 805 F(StringCompare, 2, 1) \
807 F(StringBuilderConcat, 3, 1) \ 806 F(StringBuilderConcat, 3, 1) \
808 F(StringBuilderJoin, 3, 1) \ 807 F(StringBuilderJoin, 3, 1) \
809 F(SparseJoinWithSeparator, 3, 1) \ 808 F(SparseJoinWithSeparator, 3, 1) \
810 F(StringToArray, 2, 1) \ 809 F(StringToArray, 2, 1) \
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
1117 1116
1118 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1117 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1119 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1118 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1120 STATIC_ASSERT(LANGUAGE_END == 2); 1119 STATIC_ASSERT(LANGUAGE_END == 2);
1121 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; 1120 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {};
1122 1121
1123 } // namespace internal 1122 } // namespace internal
1124 } // namespace v8 1123 } // namespace v8
1125 1124
1126 #endif // V8_RUNTIME_RUNTIME_H_ 1125 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698