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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 F(SetNativeFlag, 1, 1) \ | 233 F(SetNativeFlag, 1, 1) \ |
234 F(IsConstructor, 1, 1) \ | 234 F(IsConstructor, 1, 1) \ |
235 F(SetForceInlineFlag, 1, 1) \ | 235 F(SetForceInlineFlag, 1, 1) \ |
236 F(Call, -1 /* >= 2 */, 1) \ | 236 F(Call, -1 /* >= 2 */, 1) \ |
237 F(ConvertReceiver, 1, 1) \ | 237 F(ConvertReceiver, 1, 1) \ |
238 F(IsFunction, 1, 1) \ | 238 F(IsFunction, 1, 1) \ |
239 F(FunctionToString, 1, 1) | 239 F(FunctionToString, 1, 1) |
240 | 240 |
241 #define FOR_EACH_INTRINSIC_GENERATOR(F) \ | 241 #define FOR_EACH_INTRINSIC_GENERATOR(F) \ |
242 F(CreateJSGeneratorObject, 2, 1) \ | 242 F(CreateJSGeneratorObject, 2, 1) \ |
243 F(SuspendJSGeneratorObject, 1, 1) \ | |
244 F(GeneratorClose, 1, 1) \ | 243 F(GeneratorClose, 1, 1) \ |
245 F(GeneratorGetFunction, 1, 1) \ | 244 F(GeneratorGetFunction, 1, 1) \ |
246 F(GeneratorGetReceiver, 1, 1) \ | 245 F(GeneratorGetReceiver, 1, 1) \ |
247 F(GeneratorGetInputOrDebugPos, 1, 1) \ | 246 F(GeneratorGetInputOrDebugPos, 1, 1) \ |
248 F(GeneratorGetContinuation, 1, 1) \ | 247 F(GeneratorGetContinuation, 1, 1) \ |
249 F(GeneratorGetSourcePosition, 1, 1) \ | 248 F(GeneratorGetSourcePosition, 1, 1) \ |
250 F(GeneratorGetResumeMode, 1, 1) | 249 F(GeneratorGetResumeMode, 1, 1) |
251 | 250 |
252 #ifdef V8_I18N_SUPPORT | 251 #ifdef V8_I18N_SUPPORT |
253 #define FOR_EACH_INTRINSIC_I18N(F) \ | 252 #define FOR_EACH_INTRINSIC_I18N(F) \ |
(...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1129 | 1128 |
1130 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1129 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1131 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1130 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1132 STATIC_ASSERT(LANGUAGE_END == 2); | 1131 STATIC_ASSERT(LANGUAGE_END == 2); |
1133 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; | 1132 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; |
1134 | 1133 |
1135 } // namespace internal | 1134 } // namespace internal |
1136 } // namespace v8 | 1135 } // namespace v8 |
1137 | 1136 |
1138 #endif // V8_RUNTIME_RUNTIME_H_ | 1137 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |