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

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

Issue 2018963002: [builtins] Migrate String.prototype.trim/trimLeft/trimRight to C++. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address Franziskas comments. Created 4 years, 6 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/objects.cc ('k') | src/runtime/runtime-strings.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 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 "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/base/platform/time.h" 9 #include "src/base/platform/time.h"
10 #include "src/objects.h" 10 #include "src/objects.h"
(...skipping 813 matching lines...) Expand 10 before | Expand all | Expand 10 after
824 F(InternalizeString, 1, 1) \ 824 F(InternalizeString, 1, 1) \
825 F(StringMatch, 3, 1) \ 825 F(StringMatch, 3, 1) \
826 F(StringCharCodeAtRT, 2, 1) \ 826 F(StringCharCodeAtRT, 2, 1) \
827 F(StringCompare, 2, 1) \ 827 F(StringCompare, 2, 1) \
828 F(StringBuilderConcat, 3, 1) \ 828 F(StringBuilderConcat, 3, 1) \
829 F(StringBuilderJoin, 3, 1) \ 829 F(StringBuilderJoin, 3, 1) \
830 F(SparseJoinWithSeparator, 3, 1) \ 830 F(SparseJoinWithSeparator, 3, 1) \
831 F(StringToArray, 2, 1) \ 831 F(StringToArray, 2, 1) \
832 F(StringToLowerCase, 1, 1) \ 832 F(StringToLowerCase, 1, 1) \
833 F(StringToUpperCase, 1, 1) \ 833 F(StringToUpperCase, 1, 1) \
834 F(StringTrim, 3, 1) \
835 F(StringLessThan, 2, 1) \ 834 F(StringLessThan, 2, 1) \
836 F(StringLessThanOrEqual, 2, 1) \ 835 F(StringLessThanOrEqual, 2, 1) \
837 F(StringGreaterThan, 2, 1) \ 836 F(StringGreaterThan, 2, 1) \
838 F(StringGreaterThanOrEqual, 2, 1) \ 837 F(StringGreaterThanOrEqual, 2, 1) \
839 F(StringEqual, 2, 1) \ 838 F(StringEqual, 2, 1) \
840 F(StringNotEqual, 2, 1) \ 839 F(StringNotEqual, 2, 1) \
841 F(FlattenString, 1, 1) \ 840 F(FlattenString, 1, 1) \
842 F(StringCharFromCode, 1, 1) \ 841 F(StringCharFromCode, 1, 1) \
843 F(ExternalStringGetChar, 2, 1) \ 842 F(ExternalStringGetChar, 2, 1) \
844 F(StringCharCodeAt, 2, 1) 843 F(StringCharCodeAt, 2, 1)
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
1153 1152
1154 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1153 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1155 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1154 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1156 STATIC_ASSERT(LANGUAGE_END == 3); 1155 STATIC_ASSERT(LANGUAGE_END == 3);
1157 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1156 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1158 1157
1159 } // namespace internal 1158 } // namespace internal
1160 } // namespace v8 1159 } // namespace v8
1161 1160
1162 #endif // V8_RUNTIME_RUNTIME_H_ 1161 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/runtime/runtime-strings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698