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 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
540 F(StringSplit, 3, 1) \ | 540 F(StringSplit, 3, 1) \ |
541 F(RegExpExec, 4, 1) \ | 541 F(RegExpExec, 4, 1) \ |
542 F(RegExpConstructResult, 3, 1) \ | 542 F(RegExpConstructResult, 3, 1) \ |
543 F(RegExpInitializeAndCompile, 3, 1) \ | 543 F(RegExpInitializeAndCompile, 3, 1) \ |
544 F(MaterializeRegExpLiteral, 4, 1) \ | 544 F(MaterializeRegExpLiteral, 4, 1) \ |
545 F(RegExpExecMultiple, 4, 1) \ | 545 F(RegExpExecMultiple, 4, 1) \ |
546 F(RegExpExecReThrow, 4, 1) \ | 546 F(RegExpExecReThrow, 4, 1) \ |
547 F(IsRegExp, 1, 1) | 547 F(IsRegExp, 1, 1) |
548 | 548 |
549 | 549 |
550 #define FOR_EACH_INTRINSIC_SCOPES(F) \ | 550 #define FOR_EACH_INTRINSIC_SCOPES(F) \ |
551 F(ThrowConstAssignError, 0, 1) \ | 551 F(ThrowConstAssignError, 0, 1) \ |
552 F(DeclareGlobals, 2, 1) \ | 552 F(DeclareGlobals, 2, 1) \ |
553 F(InitializeVarGlobal, 3, 1) \ | 553 F(InitializeVarGlobal, 3, 1) \ |
554 F(InitializeConstGlobal, 2, 1) \ | 554 F(InitializeConstGlobal, 2, 1) \ |
555 F(DeclareLookupSlot, 2, 1) \ | 555 F(DeclareLookupSlot, 2, 1) \ |
556 F(DeclareReadOnlyLookupSlot, 2, 1) \ | 556 F(DeclareReadOnlyLookupSlot, 2, 1) \ |
557 F(InitializeLegacyConstLookupSlot, 3, 1) \ | 557 F(InitializeLegacyConstLookupSlot, 3, 1) \ |
558 F(NewArguments, 1, 1) /* TODO(turbofan): Only temporary */ \ | 558 F(NewSloppyArguments_Generic, 1, 1) \ |
559 F(NewSloppyArguments, 3, 1) \ | 559 F(NewStrictArguments_Generic, 1, 1) \ |
560 F(NewStrictArguments, 3, 1) \ | 560 F(NewSloppyArguments, 3, 1) \ |
561 F(NewClosure, 1, 1) \ | 561 F(NewStrictArguments, 3, 1) \ |
562 F(NewClosure_Tenured, 1, 1) \ | 562 F(NewClosure, 1, 1) \ |
563 F(NewScriptContext, 2, 1) \ | 563 F(NewClosure_Tenured, 1, 1) \ |
564 F(NewFunctionContext, 1, 1) \ | 564 F(NewScriptContext, 2, 1) \ |
565 F(PushWithContext, 2, 1) \ | 565 F(NewFunctionContext, 1, 1) \ |
566 F(PushCatchContext, 3, 1) \ | 566 F(PushWithContext, 2, 1) \ |
567 F(PushBlockContext, 2, 1) \ | 567 F(PushCatchContext, 3, 1) \ |
568 F(IsJSModule, 1, 1) \ | 568 F(PushBlockContext, 2, 1) \ |
569 F(PushModuleContext, 2, 1) \ | 569 F(IsJSModule, 1, 1) \ |
570 F(DeclareModules, 1, 1) \ | 570 F(PushModuleContext, 2, 1) \ |
571 F(DeleteLookupSlot, 2, 1) \ | 571 F(DeclareModules, 1, 1) \ |
572 F(StoreLookupSlot, 4, 1) \ | 572 F(DeleteLookupSlot, 2, 1) \ |
573 F(ArgumentsLength, 0, 1) \ | 573 F(StoreLookupSlot, 4, 1) \ |
| 574 F(ArgumentsLength, 0, 1) \ |
574 F(Arguments, 1, 1) | 575 F(Arguments, 1, 1) |
575 | 576 |
576 | 577 |
577 #define FOR_EACH_INTRINSIC_SIMD(F) \ | 578 #define FOR_EACH_INTRINSIC_SIMD(F) \ |
578 F(IsSimdValue, 1, 1) \ | 579 F(IsSimdValue, 1, 1) \ |
579 F(SimdSameValue, 2, 1) \ | 580 F(SimdSameValue, 2, 1) \ |
580 F(SimdSameValueZero, 2, 1) \ | 581 F(SimdSameValueZero, 2, 1) \ |
581 F(CreateFloat32x4, 4, 1) \ | 582 F(CreateFloat32x4, 4, 1) \ |
582 F(CreateInt32x4, 4, 1) \ | 583 F(CreateInt32x4, 4, 1) \ |
583 F(CreateUint32x4, 4, 1) \ | 584 F(CreateUint32x4, 4, 1) \ |
(...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1232 | 1233 |
1233 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1234 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1234 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1235 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1235 STATIC_ASSERT(LANGUAGE_END == 3); | 1236 STATIC_ASSERT(LANGUAGE_END == 3); |
1236 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1237 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1237 | 1238 |
1238 } // namespace internal | 1239 } // namespace internal |
1239 } // namespace v8 | 1240 } // namespace v8 |
1240 | 1241 |
1241 #endif // V8_RUNTIME_RUNTIME_H_ | 1242 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |