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 908 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
919 F(TwoByteSeqStringGetChar, 2, 1) \ | 919 F(TwoByteSeqStringGetChar, 2, 1) \ |
920 F(TwoByteSeqStringSetChar, 3, 1) \ | 920 F(TwoByteSeqStringSetChar, 3, 1) \ |
921 F(StringCharCodeAt, 2, 1) \ | 921 F(StringCharCodeAt, 2, 1) \ |
922 F(StringGetLength, 1, 1) | 922 F(StringGetLength, 1, 1) |
923 | 923 |
924 | 924 |
925 #define FOR_EACH_INTRINSIC_SYMBOL(F) \ | 925 #define FOR_EACH_INTRINSIC_SYMBOL(F) \ |
926 F(CreateSymbol, 1, 1) \ | 926 F(CreateSymbol, 1, 1) \ |
927 F(CreatePrivateSymbol, 1, 1) \ | 927 F(CreatePrivateSymbol, 1, 1) \ |
928 F(SymbolDescription, 1, 1) \ | 928 F(SymbolDescription, 1, 1) \ |
| 929 F(SymbolDescriptiveString, 1, 1) \ |
929 F(SymbolRegistry, 0, 1) \ | 930 F(SymbolRegistry, 0, 1) \ |
930 F(SymbolIsPrivate, 1, 1) | 931 F(SymbolIsPrivate, 1, 1) |
931 | 932 |
932 | 933 |
933 #define FOR_EACH_INTRINSIC_TEST(F) \ | 934 #define FOR_EACH_INTRINSIC_TEST(F) \ |
934 F(DeoptimizeFunction, 1, 1) \ | 935 F(DeoptimizeFunction, 1, 1) \ |
935 F(DeoptimizeNow, 0, 1) \ | 936 F(DeoptimizeNow, 0, 1) \ |
936 F(RunningInSimulator, 0, 1) \ | 937 F(RunningInSimulator, 0, 1) \ |
937 F(IsConcurrentRecompilationSupported, 0, 1) \ | 938 F(IsConcurrentRecompilationSupported, 0, 1) \ |
938 F(OptimizeFunctionOnNextCall, -1, 1) \ | 939 F(OptimizeFunctionOnNextCall, -1, 1) \ |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1231 | 1232 |
1232 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1233 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1233 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1234 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1234 STATIC_ASSERT(LANGUAGE_END == 3); | 1235 STATIC_ASSERT(LANGUAGE_END == 3); |
1235 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1236 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1236 | 1237 |
1237 } // namespace internal | 1238 } // namespace internal |
1238 } // namespace v8 | 1239 } // namespace v8 |
1239 | 1240 |
1240 #endif // V8_RUNTIME_RUNTIME_H_ | 1241 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |