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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 F(SetNativeFlag, 1, 1) \ | 252 F(SetNativeFlag, 1, 1) \ |
253 F(ThrowStrongModeTooFewArguments, 0, 1) \ | 253 F(ThrowStrongModeTooFewArguments, 0, 1) \ |
254 F(IsConstructor, 1, 1) \ | 254 F(IsConstructor, 1, 1) \ |
255 F(SetForceInlineFlag, 1, 1) \ | 255 F(SetForceInlineFlag, 1, 1) \ |
256 F(FunctionBindArguments, 4, 1) \ | 256 F(FunctionBindArguments, 4, 1) \ |
257 F(BoundFunctionGetBindings, 1, 1) \ | 257 F(BoundFunctionGetBindings, 1, 1) \ |
258 F(NewObjectFromBound, 1, 1) \ | 258 F(NewObjectFromBound, 1, 1) \ |
259 F(Call, -1 /* >= 2 */, 1) \ | 259 F(Call, -1 /* >= 2 */, 1) \ |
260 F(Apply, 5, 1) \ | 260 F(Apply, 5, 1) \ |
261 F(GetOriginalConstructor, 0, 1) \ | 261 F(GetOriginalConstructor, 0, 1) \ |
| 262 F(ConvertReceiver, 1, 1) \ |
262 F(CallFunction, -1 /* receiver + n args + function */, 1) \ | 263 F(CallFunction, -1 /* receiver + n args + function */, 1) \ |
263 F(IsConstructCall, 0, 1) \ | 264 F(IsConstructCall, 0, 1) \ |
264 F(IsFunction, 1, 1) | 265 F(IsFunction, 1, 1) |
265 | 266 |
266 | 267 |
267 #define FOR_EACH_INTRINSIC_GENERATOR(F) \ | 268 #define FOR_EACH_INTRINSIC_GENERATOR(F) \ |
268 F(CreateJSGeneratorObject, 0, 1) \ | 269 F(CreateJSGeneratorObject, 0, 1) \ |
269 F(SuspendJSGeneratorObject, -1, 1) \ | 270 F(SuspendJSGeneratorObject, -1, 1) \ |
270 F(ResumeJSGeneratorObject, 3, 1) \ | 271 F(ResumeJSGeneratorObject, 3, 1) \ |
271 F(GeneratorClose, 1, 1) \ | 272 F(GeneratorClose, 1, 1) \ |
(...skipping 985 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1257 | 1258 |
1258 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1259 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1259 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1260 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1260 STATIC_ASSERT(LANGUAGE_END == 3); | 1261 STATIC_ASSERT(LANGUAGE_END == 3); |
1261 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1262 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1262 | 1263 |
1263 } // namespace internal | 1264 } // namespace internal |
1264 } // namespace v8 | 1265 } // namespace v8 |
1265 | 1266 |
1266 #endif // V8_RUNTIME_RUNTIME_H_ | 1267 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |