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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 F(FunctionGetPositionForOffset, 2, 1) \ | 240 F(FunctionGetPositionForOffset, 2, 1) \ |
241 F(FunctionSetInstanceClassName, 2, 1) \ | 241 F(FunctionSetInstanceClassName, 2, 1) \ |
242 F(FunctionSetLength, 2, 1) \ | 242 F(FunctionSetLength, 2, 1) \ |
243 F(FunctionSetPrototype, 2, 1) \ | 243 F(FunctionSetPrototype, 2, 1) \ |
244 F(FunctionIsAPIFunction, 1, 1) \ | 244 F(FunctionIsAPIFunction, 1, 1) \ |
245 F(SetCode, 2, 1) \ | 245 F(SetCode, 2, 1) \ |
246 F(SetNativeFlag, 1, 1) \ | 246 F(SetNativeFlag, 1, 1) \ |
247 F(ThrowStrongModeTooFewArguments, 0, 1) \ | 247 F(ThrowStrongModeTooFewArguments, 0, 1) \ |
248 F(IsConstructor, 1, 1) \ | 248 F(IsConstructor, 1, 1) \ |
249 F(SetForceInlineFlag, 1, 1) \ | 249 F(SetForceInlineFlag, 1, 1) \ |
250 F(FunctionBindArguments, 5, 1) \ | |
251 F(BoundFunctionGetBindings, 1, 1) \ | |
252 F(NewObjectFromBound, 1, 1) \ | |
253 F(Call, -1 /* >= 2 */, 1) \ | 250 F(Call, -1 /* >= 2 */, 1) \ |
254 F(TailCall, -1 /* >= 2 */, 1) \ | 251 F(TailCall, -1 /* >= 2 */, 1) \ |
255 F(Apply, 5, 1) \ | 252 F(Apply, 5, 1) \ |
256 F(ConvertReceiver, 1, 1) \ | 253 F(ConvertReceiver, 1, 1) \ |
257 F(IsFunction, 1, 1) \ | 254 F(IsFunction, 1, 1) \ |
258 F(FunctionToString, 1, 1) | 255 F(FunctionToString, 1, 1) |
259 | 256 |
260 | 257 |
261 #define FOR_EACH_INTRINSIC_GENERATOR(F) \ | 258 #define FOR_EACH_INTRINSIC_GENERATOR(F) \ |
262 F(CreateJSGeneratorObject, 0, 1) \ | 259 F(CreateJSGeneratorObject, 0, 1) \ |
(...skipping 982 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1245 | 1242 |
1246 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1243 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1247 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1244 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1248 STATIC_ASSERT(LANGUAGE_END == 3); | 1245 STATIC_ASSERT(LANGUAGE_END == 3); |
1249 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1246 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1250 | 1247 |
1251 } // namespace internal | 1248 } // namespace internal |
1252 } // namespace v8 | 1249 } // namespace v8 |
1253 | 1250 |
1254 #endif // V8_RUNTIME_RUNTIME_H_ | 1251 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |