| 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 F(SetCode, 2, 1) \ | 237 F(SetCode, 2, 1) \ |
| 238 F(SetNativeFlag, 1, 1) \ | 238 F(SetNativeFlag, 1, 1) \ |
| 239 F(ThrowStrongModeTooFewArguments, 0, 1) \ | 239 F(ThrowStrongModeTooFewArguments, 0, 1) \ |
| 240 F(IsConstructor, 1, 1) \ | 240 F(IsConstructor, 1, 1) \ |
| 241 F(SetForceInlineFlag, 1, 1) \ | 241 F(SetForceInlineFlag, 1, 1) \ |
| 242 F(FunctionBindArguments, 4, 1) \ | 242 F(FunctionBindArguments, 4, 1) \ |
| 243 F(BoundFunctionGetBindings, 1, 1) \ | 243 F(BoundFunctionGetBindings, 1, 1) \ |
| 244 F(NewObjectFromBound, 1, 1) \ | 244 F(NewObjectFromBound, 1, 1) \ |
| 245 F(Call, -1 /* >= 2 */, 1) \ | 245 F(Call, -1 /* >= 2 */, 1) \ |
| 246 F(Apply, 5, 1) \ | 246 F(Apply, 5, 1) \ |
| 247 F(GetFunctionDelegate, 1, 1) \ | |
| 248 F(GetConstructorDelegate, 1, 1) \ | |
| 249 F(GetOriginalConstructor, 0, 1) \ | 247 F(GetOriginalConstructor, 0, 1) \ |
| 250 F(CallFunction, -1 /* receiver + n args + function */, 1) \ | 248 F(CallFunction, -1 /* receiver + n args + function */, 1) \ |
| 251 F(IsConstructCall, 0, 1) \ | 249 F(IsConstructCall, 0, 1) \ |
| 252 F(IsFunction, 1, 1) | 250 F(IsFunction, 1, 1) |
| 253 | 251 |
| 254 | 252 |
| 255 #define FOR_EACH_INTRINSIC_GENERATOR(F) \ | 253 #define FOR_EACH_INTRINSIC_GENERATOR(F) \ |
| 256 F(CreateJSGeneratorObject, 0, 1) \ | 254 F(CreateJSGeneratorObject, 0, 1) \ |
| 257 F(SuspendJSGeneratorObject, -1, 1) \ | 255 F(SuspendJSGeneratorObject, -1, 1) \ |
| 258 F(ResumeJSGeneratorObject, 3, 1) \ | 256 F(ResumeJSGeneratorObject, 3, 1) \ |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 F(CallSiteIsToplevelRT, 1, 1) \ | 332 F(CallSiteIsToplevelRT, 1, 1) \ |
| 335 F(CallSiteIsEvalRT, 1, 1) \ | 333 F(CallSiteIsEvalRT, 1, 1) \ |
| 336 F(CallSiteIsConstructorRT, 1, 1) \ | 334 F(CallSiteIsConstructorRT, 1, 1) \ |
| 337 F(IS_VAR, 1, 1) \ | 335 F(IS_VAR, 1, 1) \ |
| 338 F(IncrementStatsCounter, 1, 1) \ | 336 F(IncrementStatsCounter, 1, 1) \ |
| 339 F(Likely, 1, 1) \ | 337 F(Likely, 1, 1) \ |
| 340 F(Unlikely, 1, 1) \ | 338 F(Unlikely, 1, 1) \ |
| 341 F(HarmonyToString, 0, 1) \ | 339 F(HarmonyToString, 0, 1) \ |
| 342 F(GetTypeFeedbackVector, 1, 1) \ | 340 F(GetTypeFeedbackVector, 1, 1) \ |
| 343 F(GetCallerJSFunction, 0, 1) \ | 341 F(GetCallerJSFunction, 0, 1) \ |
| 344 F(GetCodeStubExportsObject, 0, 1) | 342 F(GetCodeStubExportsObject, 0, 1) \ |
| 343 F(ThrowCalledNonCallable, 1, 1) |
| 345 | 344 |
| 346 | 345 |
| 347 #define FOR_EACH_INTRINSIC_JSON(F) \ | 346 #define FOR_EACH_INTRINSIC_JSON(F) \ |
| 348 F(QuoteJSONString, 1, 1) \ | 347 F(QuoteJSONString, 1, 1) \ |
| 349 F(BasicJSONStringify, 1, 1) \ | 348 F(BasicJSONStringify, 1, 1) \ |
| 350 F(ParseJson, 1, 1) | 349 F(ParseJson, 1, 1) |
| 351 | 350 |
| 352 | 351 |
| 353 #define FOR_EACH_INTRINSIC_LITERALS(F) \ | 352 #define FOR_EACH_INTRINSIC_LITERALS(F) \ |
| 354 F(CreateObjectLiteral, 4, 1) \ | 353 F(CreateObjectLiteral, 4, 1) \ |
| (...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1235 | 1234 |
| 1236 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1235 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
| 1237 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1236 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
| 1238 STATIC_ASSERT(LANGUAGE_END == 3); | 1237 STATIC_ASSERT(LANGUAGE_END == 3); |
| 1239 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1238 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
| 1240 | 1239 |
| 1241 } // namespace internal | 1240 } // namespace internal |
| 1242 } // namespace v8 | 1241 } // namespace v8 |
| 1243 | 1242 |
| 1244 #endif // V8_RUNTIME_RUNTIME_H_ | 1243 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |