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 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
556 | 556 |
557 #define FOR_EACH_INTRINSIC_SCOPES(F) \ | 557 #define FOR_EACH_INTRINSIC_SCOPES(F) \ |
558 F(ThrowConstAssignError, 0, 1) \ | 558 F(ThrowConstAssignError, 0, 1) \ |
559 F(DeclareGlobals, 2, 1) \ | 559 F(DeclareGlobals, 2, 1) \ |
560 F(InitializeVarGlobal, 3, 1) \ | 560 F(InitializeVarGlobal, 3, 1) \ |
561 F(InitializeConstGlobal, 2, 1) \ | 561 F(InitializeConstGlobal, 2, 1) \ |
562 F(DeclareLookupSlot, 3, 1) \ | 562 F(DeclareLookupSlot, 3, 1) \ |
563 F(InitializeLegacyConstLookupSlot, 3, 1) \ | 563 F(InitializeLegacyConstLookupSlot, 3, 1) \ |
564 F(NewSloppyArguments_Generic, 1, 1) \ | 564 F(NewSloppyArguments_Generic, 1, 1) \ |
565 F(NewStrictArguments_Generic, 1, 1) \ | 565 F(NewStrictArguments_Generic, 1, 1) \ |
566 F(NewStrictRestArguments_Generic, 2, 1) \ | |
Benedikt Meurer
2015/12/27 07:34:30
This name is confusing; rest arguments don't depen
mvstanton
2015/12/31 11:26:59
Done.
| |
566 F(NewSloppyArguments, 3, 1) \ | 567 F(NewSloppyArguments, 3, 1) \ |
567 F(NewStrictArguments, 3, 1) \ | 568 F(NewStrictArguments, 3, 1) \ |
568 F(NewRestParam, 4, 1) \ | 569 F(NewRestParam, 4, 1) \ |
569 F(NewRestParamSlow, 2, 1) \ | 570 F(NewRestParamSlow, 2, 1) \ |
570 F(NewClosure, 1, 1) \ | 571 F(NewClosure, 1, 1) \ |
571 F(NewClosure_Tenured, 1, 1) \ | 572 F(NewClosure_Tenured, 1, 1) \ |
572 F(NewScriptContext, 2, 1) \ | 573 F(NewScriptContext, 2, 1) \ |
573 F(NewFunctionContext, 1, 1) \ | 574 F(NewFunctionContext, 1, 1) \ |
574 F(PushWithContext, 2, 1) \ | 575 F(PushWithContext, 2, 1) \ |
575 F(PushCatchContext, 3, 1) \ | 576 F(PushCatchContext, 3, 1) \ |
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1248 | 1249 |
1249 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1250 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1250 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1251 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1251 STATIC_ASSERT(LANGUAGE_END == 3); | 1252 STATIC_ASSERT(LANGUAGE_END == 3); |
1252 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1253 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1253 | 1254 |
1254 } // namespace internal | 1255 } // namespace internal |
1255 } // namespace v8 | 1256 } // namespace v8 |
1256 | 1257 |
1257 #endif // V8_RUNTIME_RUNTIME_H_ | 1258 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |