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/base/platform/time.h" | 9 #include "src/base/platform/time.h" |
10 #include "src/objects.h" | 10 #include "src/objects.h" |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 F(SetCode, 2, 1) \ | 217 F(SetCode, 2, 1) \ |
218 F(SetNativeFlag, 1, 1) \ | 218 F(SetNativeFlag, 1, 1) \ |
219 F(IsConstructor, 1, 1) \ | 219 F(IsConstructor, 1, 1) \ |
220 F(SetForceInlineFlag, 1, 1) \ | 220 F(SetForceInlineFlag, 1, 1) \ |
221 F(Call, -1 /* >= 2 */, 1) \ | 221 F(Call, -1 /* >= 2 */, 1) \ |
222 F(ConvertReceiver, 1, 1) \ | 222 F(ConvertReceiver, 1, 1) \ |
223 F(IsFunction, 1, 1) \ | 223 F(IsFunction, 1, 1) \ |
224 F(FunctionToString, 1, 1) | 224 F(FunctionToString, 1, 1) |
225 | 225 |
226 #define FOR_EACH_INTRINSIC_GENERATOR(F) \ | 226 #define FOR_EACH_INTRINSIC_GENERATOR(F) \ |
227 F(CreateJSGeneratorObject, 2, 1) \ | 227 F(CreateJSGeneratorObject, 1, 1) \ |
228 F(SuspendJSGeneratorObject, 1, 1) \ | 228 F(SuspendJSGeneratorObject, 1, 1) \ |
229 F(GeneratorClose, 1, 1) \ | 229 F(GeneratorClose, 1, 1) \ |
230 F(GeneratorGetFunction, 1, 1) \ | 230 F(GeneratorGetFunction, 1, 1) \ |
231 F(GeneratorGetReceiver, 1, 1) \ | |
232 F(GeneratorGetInput, 1, 1) \ | 231 F(GeneratorGetInput, 1, 1) \ |
233 F(GeneratorSetContext, 1, 1) \ | 232 F(GeneratorSetContext, 1, 1) \ |
234 F(GeneratorGetContinuation, 1, 1) \ | 233 F(GeneratorGetContinuation, 1, 1) \ |
235 F(GeneratorSetContinuation, 2, 1) \ | 234 F(GeneratorSetContinuation, 2, 1) \ |
236 F(GeneratorGetSourcePosition, 1, 1) \ | 235 F(GeneratorGetSourcePosition, 1, 1) \ |
237 F(GeneratorGetResumeMode, 1, 1) \ | 236 F(GeneratorGetResumeMode, 1, 1) \ |
238 F(GeneratorLoadRegister, 2, 1) \ | 237 F(GeneratorLoadRegister, 2, 1) \ |
239 F(GeneratorStoreRegister, 3, 1) | 238 F(GeneratorStoreRegister, 3, 1) |
240 | 239 |
241 #ifdef V8_I18N_SUPPORT | 240 #ifdef V8_I18N_SUPPORT |
(...skipping 923 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1165 | 1164 |
1166 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1165 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1167 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1166 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1168 STATIC_ASSERT(LANGUAGE_END == 3); | 1167 STATIC_ASSERT(LANGUAGE_END == 3); |
1169 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1168 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1170 | 1169 |
1171 } // namespace internal | 1170 } // namespace internal |
1172 } // namespace v8 | 1171 } // namespace v8 |
1173 | 1172 |
1174 #endif // V8_RUNTIME_RUNTIME_H_ | 1173 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |