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 <memory> | 8 #include <memory> |
9 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 F(Call, -1 /* >= 2 */, 1) \ | 239 F(Call, -1 /* >= 2 */, 1) \ |
240 F(ConvertReceiver, 1, 1) \ | 240 F(ConvertReceiver, 1, 1) \ |
241 F(IsFunction, 1, 1) \ | 241 F(IsFunction, 1, 1) \ |
242 F(FunctionToString, 1, 1) | 242 F(FunctionToString, 1, 1) |
243 | 243 |
244 #define FOR_EACH_INTRINSIC_GENERATOR(F) \ | 244 #define FOR_EACH_INTRINSIC_GENERATOR(F) \ |
245 F(CreateJSGeneratorObject, 2, 1) \ | 245 F(CreateJSGeneratorObject, 2, 1) \ |
246 F(GeneratorClose, 1, 1) \ | 246 F(GeneratorClose, 1, 1) \ |
247 F(GeneratorGetFunction, 1, 1) \ | 247 F(GeneratorGetFunction, 1, 1) \ |
248 F(GeneratorGetReceiver, 1, 1) \ | 248 F(GeneratorGetReceiver, 1, 1) \ |
| 249 F(GeneratorGetContext, 1, 1) \ |
249 F(GeneratorGetInputOrDebugPos, 1, 1) \ | 250 F(GeneratorGetInputOrDebugPos, 1, 1) \ |
250 F(GeneratorGetContinuation, 1, 1) \ | 251 F(GeneratorGetContinuation, 1, 1) \ |
251 F(GeneratorGetSourcePosition, 1, 1) \ | 252 F(GeneratorGetSourcePosition, 1, 1) \ |
252 F(GeneratorGetResumeMode, 1, 1) | 253 F(GeneratorGetResumeMode, 1, 1) |
253 | 254 |
254 #ifdef V8_I18N_SUPPORT | 255 #ifdef V8_I18N_SUPPORT |
255 #define FOR_EACH_INTRINSIC_I18N(F) \ | 256 #define FOR_EACH_INTRINSIC_I18N(F) \ |
256 F(CanonicalizeLanguageTag, 1, 1) \ | 257 F(CanonicalizeLanguageTag, 1, 1) \ |
257 F(AvailableLocalesOf, 1, 1) \ | 258 F(AvailableLocalesOf, 1, 1) \ |
258 F(GetDefaultICULocale, 0, 1) \ | 259 F(GetDefaultICULocale, 0, 1) \ |
(...skipping 890 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1149 | 1150 |
1150 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1151 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1151 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1152 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1152 STATIC_ASSERT(LANGUAGE_END == 2); | 1153 STATIC_ASSERT(LANGUAGE_END == 2); |
1153 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; | 1154 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; |
1154 | 1155 |
1155 } // namespace internal | 1156 } // namespace internal |
1156 } // namespace v8 | 1157 } // namespace v8 |
1157 | 1158 |
1158 #endif // V8_RUNTIME_RUNTIME_H_ | 1159 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |