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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 F(ThrowStrongModeTooFewArguments, 0, 1) \ | 240 F(ThrowStrongModeTooFewArguments, 0, 1) \ |
241 F(IsConstructor, 1, 1) \ | 241 F(IsConstructor, 1, 1) \ |
242 F(SetForceInlineFlag, 1, 1) \ | 242 F(SetForceInlineFlag, 1, 1) \ |
243 F(Call, -1 /* >= 2 */, 1) \ | 243 F(Call, -1 /* >= 2 */, 1) \ |
244 F(TailCall, -1 /* >= 2 */, 1) \ | 244 F(TailCall, -1 /* >= 2 */, 1) \ |
245 F(Apply, 5, 1) \ | 245 F(Apply, 5, 1) \ |
246 F(ConvertReceiver, 1, 1) \ | 246 F(ConvertReceiver, 1, 1) \ |
247 F(IsFunction, 1, 1) \ | 247 F(IsFunction, 1, 1) \ |
248 F(FunctionToString, 1, 1) | 248 F(FunctionToString, 1, 1) |
249 | 249 |
250 | |
251 #define FOR_EACH_INTRINSIC_GENERATOR(F) \ | 250 #define FOR_EACH_INTRINSIC_GENERATOR(F) \ |
252 F(CreateJSGeneratorObject, 0, 1) \ | 251 F(CreateJSGeneratorObject, 0, 1) \ |
253 F(SuspendJSGeneratorObject, 1, 1) \ | 252 F(SuspendJSGeneratorObject, 1, 1) \ |
254 F(ResumeJSGeneratorObject, 3, 1) \ | 253 F(ResumeJSGeneratorObject, 3, 1) \ |
255 F(GeneratorClose, 1, 1) \ | 254 F(GeneratorClose, 1, 1) \ |
256 F(GeneratorGetFunction, 1, 1) \ | 255 F(GeneratorGetFunction, 1, 1) \ |
257 F(GeneratorGetContext, 1, 1) \ | 256 F(GeneratorGetContext, 1, 1) \ |
258 F(GeneratorGetReceiver, 1, 1) \ | 257 F(GeneratorGetReceiver, 1, 1) \ |
259 F(GeneratorGetInput, 1, 1) \ | 258 F(GeneratorGetInput, 1, 1) \ |
260 F(GeneratorGetContinuation, 1, 1) \ | 259 F(GeneratorGetContinuation, 1, 1) \ |
(...skipping 943 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1204 | 1203 |
1205 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1204 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1206 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1205 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1207 STATIC_ASSERT(LANGUAGE_END == 3); | 1206 STATIC_ASSERT(LANGUAGE_END == 3); |
1208 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1207 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1209 | 1208 |
1210 } // namespace internal | 1209 } // namespace internal |
1211 } // namespace v8 | 1210 } // namespace v8 |
1212 | 1211 |
1213 #endif // V8_RUNTIME_RUNTIME_H_ | 1212 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |