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/zone.h" | 10 #include "src/zone.h" |
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
500 #define FOR_EACH_INTRINSIC_SCOPES(F) \ | 500 #define FOR_EACH_INTRINSIC_SCOPES(F) \ |
501 F(ThrowConstAssignError, 0, 1) \ | 501 F(ThrowConstAssignError, 0, 1) \ |
502 F(DeclareGlobals, 3, 1) \ | 502 F(DeclareGlobals, 3, 1) \ |
503 F(InitializeVarGlobal, 3, 1) \ | 503 F(InitializeVarGlobal, 3, 1) \ |
504 F(InitializeConstGlobal, 2, 1) \ | 504 F(InitializeConstGlobal, 2, 1) \ |
505 F(DeclareLookupSlot, 4, 1) \ | 505 F(DeclareLookupSlot, 4, 1) \ |
506 F(InitializeLegacyConstLookupSlot, 3, 1) \ | 506 F(InitializeLegacyConstLookupSlot, 3, 1) \ |
507 F(NewArguments, 1, 1) /* TODO(turbofan): Only temporary */ \ | 507 F(NewArguments, 1, 1) /* TODO(turbofan): Only temporary */ \ |
508 F(NewSloppyArguments, 3, 1) \ | 508 F(NewSloppyArguments, 3, 1) \ |
509 F(NewStrictArguments, 3, 1) \ | 509 F(NewStrictArguments, 3, 1) \ |
510 F(NewRestParam, 3, 1) \ | 510 F(NewRestParam, 4, 1) \ |
511 F(NewRestParamSlow, 1, 1) \ | 511 F(NewRestParamSlow, 2, 1) \ |
512 F(NewClosureFromStubFailure, 1, 1) \ | 512 F(NewClosureFromStubFailure, 1, 1) \ |
513 F(NewClosure, 3, 1) \ | 513 F(NewClosure, 3, 1) \ |
514 F(NewScriptContext, 2, 1) \ | 514 F(NewScriptContext, 2, 1) \ |
515 F(NewFunctionContext, 1, 1) \ | 515 F(NewFunctionContext, 1, 1) \ |
516 F(PushWithContext, 2, 1) \ | 516 F(PushWithContext, 2, 1) \ |
517 F(PushCatchContext, 3, 1) \ | 517 F(PushCatchContext, 3, 1) \ |
518 F(PushBlockContext, 2, 1) \ | 518 F(PushBlockContext, 2, 1) \ |
519 F(IsJSModule, 1, 1) \ | 519 F(IsJSModule, 1, 1) \ |
520 F(PushModuleContext, 2, 1) \ | 520 F(PushModuleContext, 2, 1) \ |
521 F(DeclareModules, 1, 1) \ | 521 F(DeclareModules, 1, 1) \ |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
873 | 873 |
874 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 874 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
875 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 875 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
876 STATIC_ASSERT(LANGUAGE_END == 3); | 876 STATIC_ASSERT(LANGUAGE_END == 3); |
877 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 877 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
878 | 878 |
879 } // namespace internal | 879 } // namespace internal |
880 } // namespace v8 | 880 } // namespace v8 |
881 | 881 |
882 #endif // V8_RUNTIME_RUNTIME_H_ | 882 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |