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 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
553 | 553 |
554 #define FOR_EACH_INTRINSIC_SCOPES(F) \ | 554 #define FOR_EACH_INTRINSIC_SCOPES(F) \ |
555 F(ThrowConstAssignError, 0, 1) \ | 555 F(ThrowConstAssignError, 0, 1) \ |
556 F(DeclareGlobals, 2, 1) \ | 556 F(DeclareGlobals, 2, 1) \ |
557 F(InitializeVarGlobal, 3, 1) \ | 557 F(InitializeVarGlobal, 3, 1) \ |
558 F(InitializeConstGlobal, 2, 1) \ | 558 F(InitializeConstGlobal, 2, 1) \ |
559 F(DeclareLookupSlot, 3, 1) \ | 559 F(DeclareLookupSlot, 3, 1) \ |
560 F(InitializeLegacyConstLookupSlot, 3, 1) \ | 560 F(InitializeLegacyConstLookupSlot, 3, 1) \ |
561 F(NewSloppyArguments_Generic, 1, 1) \ | 561 F(NewSloppyArguments_Generic, 1, 1) \ |
562 F(NewStrictArguments_Generic, 1, 1) \ | 562 F(NewStrictArguments_Generic, 1, 1) \ |
| 563 F(NewRestArguments_Generic, 2, 1) \ |
563 F(NewSloppyArguments, 3, 1) \ | 564 F(NewSloppyArguments, 3, 1) \ |
564 F(NewStrictArguments, 3, 1) \ | 565 F(NewStrictArguments, 3, 1) \ |
565 F(NewRestParam, 4, 1) \ | 566 F(NewRestParam, 4, 1) \ |
566 F(NewRestParamSlow, 2, 1) \ | 567 F(NewRestParamSlow, 2, 1) \ |
567 F(NewClosure, 1, 1) \ | 568 F(NewClosure, 1, 1) \ |
568 F(NewClosure_Tenured, 1, 1) \ | 569 F(NewClosure_Tenured, 1, 1) \ |
569 F(NewScriptContext, 2, 1) \ | 570 F(NewScriptContext, 2, 1) \ |
570 F(NewFunctionContext, 1, 1) \ | 571 F(NewFunctionContext, 1, 1) \ |
571 F(PushWithContext, 2, 1) \ | 572 F(PushWithContext, 2, 1) \ |
572 F(PushCatchContext, 3, 1) \ | 573 F(PushCatchContext, 3, 1) \ |
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1245 | 1246 |
1246 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1247 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1247 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1248 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1248 STATIC_ASSERT(LANGUAGE_END == 3); | 1249 STATIC_ASSERT(LANGUAGE_END == 3); |
1249 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1250 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1250 | 1251 |
1251 } // namespace internal | 1252 } // namespace internal |
1252 } // namespace v8 | 1253 } // namespace v8 |
1253 | 1254 |
1254 #endif // V8_RUNTIME_RUNTIME_H_ | 1255 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |