OLD | NEW |
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 904 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
915 F(NewConsString, 4, 1) \ | 915 F(NewConsString, 4, 1) \ |
916 F(StringEquals, 2, 1) \ | 916 F(StringEquals, 2, 1) \ |
917 F(FlattenString, 1, 1) \ | 917 F(FlattenString, 1, 1) \ |
918 F(StringCharFromCode, 1, 1) \ | 918 F(StringCharFromCode, 1, 1) \ |
919 F(StringCharAt, 2, 1) \ | 919 F(StringCharAt, 2, 1) \ |
920 F(OneByteSeqStringGetChar, 2, 1) \ | 920 F(OneByteSeqStringGetChar, 2, 1) \ |
921 F(OneByteSeqStringSetChar, 3, 1) \ | 921 F(OneByteSeqStringSetChar, 3, 1) \ |
922 F(TwoByteSeqStringGetChar, 2, 1) \ | 922 F(TwoByteSeqStringGetChar, 2, 1) \ |
923 F(TwoByteSeqStringSetChar, 3, 1) \ | 923 F(TwoByteSeqStringSetChar, 3, 1) \ |
924 F(StringCharCodeAt, 2, 1) \ | 924 F(StringCharCodeAt, 2, 1) \ |
925 F(IsStringWrapperSafeForDefaultValueOf, 1, 1) \ | |
926 F(StringGetLength, 1, 1) | 925 F(StringGetLength, 1, 1) |
927 | 926 |
928 | 927 |
929 #define FOR_EACH_INTRINSIC_SYMBOL(F) \ | 928 #define FOR_EACH_INTRINSIC_SYMBOL(F) \ |
930 F(CreateSymbol, 1, 1) \ | 929 F(CreateSymbol, 1, 1) \ |
931 F(CreatePrivateSymbol, 1, 1) \ | 930 F(CreatePrivateSymbol, 1, 1) \ |
932 F(SymbolDescription, 1, 1) \ | 931 F(SymbolDescription, 1, 1) \ |
933 F(SymbolRegistry, 0, 1) \ | 932 F(SymbolRegistry, 0, 1) \ |
934 F(SymbolIsPrivate, 1, 1) | 933 F(SymbolIsPrivate, 1, 1) |
935 | 934 |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1235 | 1234 |
1236 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1235 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1237 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1236 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1238 STATIC_ASSERT(LANGUAGE_END == 3); | 1237 STATIC_ASSERT(LANGUAGE_END == 3); |
1239 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1238 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1240 | 1239 |
1241 } // namespace internal | 1240 } // namespace internal |
1242 } // namespace v8 | 1241 } // namespace v8 |
1243 | 1242 |
1244 #endif // V8_RUNTIME_RUNTIME_H_ | 1243 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |