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 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
881 | 881 |
882 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 882 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
883 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 883 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
884 STATIC_ASSERT(LANGUAGE_END == 3); | 884 STATIC_ASSERT(LANGUAGE_END == 3); |
885 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 885 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
886 | 886 |
887 } // namespace internal | 887 } // namespace internal |
888 } // namespace v8 | 888 } // namespace v8 |
889 | 889 |
890 #endif // V8_RUNTIME_RUNTIME_H_ | 890 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |