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

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

Issue 1370153002: [heap] Cleanup string factory methods a bit. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_cleanup-heap-macro-2
Patch Set: Remove dead test. Created 5 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
« no previous file with comments | « src/factory.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/objects.h" 9 #include "src/objects.h"
10 #include "src/unicode.h" 10 #include "src/unicode.h"
(...skipping 884 matching lines...) Expand 10 before | Expand all | Expand 10 after
895 F(StringCompare, 2, 1) \ 895 F(StringCompare, 2, 1) \
896 F(StringBuilderConcat, 3, 1) \ 896 F(StringBuilderConcat, 3, 1) \
897 F(StringBuilderJoin, 3, 1) \ 897 F(StringBuilderJoin, 3, 1) \
898 F(SparseJoinWithSeparator, 3, 1) \ 898 F(SparseJoinWithSeparator, 3, 1) \
899 F(StringToArray, 2, 1) \ 899 F(StringToArray, 2, 1) \
900 F(StringToLowerCase, 1, 1) \ 900 F(StringToLowerCase, 1, 1) \
901 F(StringToUpperCase, 1, 1) \ 901 F(StringToUpperCase, 1, 1) \
902 F(StringTrim, 3, 1) \ 902 F(StringTrim, 3, 1) \
903 F(TruncateString, 2, 1) \ 903 F(TruncateString, 2, 1) \
904 F(NewString, 2, 1) \ 904 F(NewString, 2, 1) \
905 F(NewConsString, 4, 1) \
906 F(StringEquals, 2, 1) \ 905 F(StringEquals, 2, 1) \
907 F(FlattenString, 1, 1) \ 906 F(FlattenString, 1, 1) \
908 F(StringCharFromCode, 1, 1) \ 907 F(StringCharFromCode, 1, 1) \
909 F(StringCharAt, 2, 1) \ 908 F(StringCharAt, 2, 1) \
910 F(OneByteSeqStringGetChar, 2, 1) \ 909 F(OneByteSeqStringGetChar, 2, 1) \
911 F(OneByteSeqStringSetChar, 3, 1) \ 910 F(OneByteSeqStringSetChar, 3, 1) \
912 F(TwoByteSeqStringGetChar, 2, 1) \ 911 F(TwoByteSeqStringGetChar, 2, 1) \
913 F(TwoByteSeqStringSetChar, 3, 1) \ 912 F(TwoByteSeqStringSetChar, 3, 1) \
914 F(StringCharCodeAt, 2, 1) \ 913 F(StringCharCodeAt, 2, 1) \
915 F(StringGetLength, 1, 1) 914 F(StringGetLength, 1, 1)
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
1226 1225
1227 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1226 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1228 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1227 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1229 STATIC_ASSERT(LANGUAGE_END == 3); 1228 STATIC_ASSERT(LANGUAGE_END == 3);
1230 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1229 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1231 1230
1232 } // namespace internal 1231 } // namespace internal
1233 } // namespace v8 1232 } // namespace v8
1234 1233
1235 #endif // V8_RUNTIME_RUNTIME_H_ 1234 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/runtime/runtime-strings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698