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/base/platform/time.h" | 9 #include "src/base/platform/time.h" |
10 #include "src/objects.h" | 10 #include "src/objects.h" |
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
538 F(IsRegExp, 1, 1) | 538 F(IsRegExp, 1, 1) |
539 | 539 |
540 #define FOR_EACH_INTRINSIC_SCOPES(F) \ | 540 #define FOR_EACH_INTRINSIC_SCOPES(F) \ |
541 F(ThrowConstAssignError, 0, 1) \ | 541 F(ThrowConstAssignError, 0, 1) \ |
542 F(DeclareGlobals, 2, 1) \ | 542 F(DeclareGlobals, 2, 1) \ |
543 F(InitializeVarGlobal, 3, 1) \ | 543 F(InitializeVarGlobal, 3, 1) \ |
544 F(InitializeConstGlobal, 2, 1) \ | 544 F(InitializeConstGlobal, 2, 1) \ |
545 F(DeclareLookupSlot, 3, 1) \ | 545 F(DeclareLookupSlot, 3, 1) \ |
546 F(InitializeLegacyConstLookupSlot, 3, 1) \ | 546 F(InitializeLegacyConstLookupSlot, 3, 1) \ |
547 F(NewSloppyArguments_Generic, 1, 1) \ | 547 F(NewSloppyArguments_Generic, 1, 1) \ |
548 F(NewStrictArguments_Generic, 1, 1) \ | 548 F(NewStrictArguments, 1, 1) \ |
549 F(NewRestParameter, 1, 1) \ | 549 F(NewRestParameter, 1, 1) \ |
550 F(NewSloppyArguments, 3, 1) \ | 550 F(NewSloppyArguments, 3, 1) \ |
551 F(NewStrictArguments, 3, 1) \ | |
552 F(NewClosure, 1, 1) \ | 551 F(NewClosure, 1, 1) \ |
553 F(NewClosure_Tenured, 1, 1) \ | 552 F(NewClosure_Tenured, 1, 1) \ |
554 F(NewScriptContext, 2, 1) \ | 553 F(NewScriptContext, 2, 1) \ |
555 F(NewFunctionContext, 1, 1) \ | 554 F(NewFunctionContext, 1, 1) \ |
556 F(PushWithContext, 2, 1) \ | 555 F(PushWithContext, 2, 1) \ |
557 F(PushCatchContext, 3, 1) \ | 556 F(PushCatchContext, 3, 1) \ |
558 F(PushBlockContext, 2, 1) \ | 557 F(PushBlockContext, 2, 1) \ |
559 F(IsJSModule, 1, 1) \ | 558 F(IsJSModule, 1, 1) \ |
560 F(PushModuleContext, 2, 1) \ | 559 F(PushModuleContext, 2, 1) \ |
561 F(DeclareModules, 1, 1) \ | 560 F(DeclareModules, 1, 1) \ |
(...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1228 | 1227 |
1229 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1228 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1230 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1229 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1231 STATIC_ASSERT(LANGUAGE_END == 3); | 1230 STATIC_ASSERT(LANGUAGE_END == 3); |
1232 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1231 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1233 | 1232 |
1234 } // namespace internal | 1233 } // namespace internal |
1235 } // namespace v8 | 1234 } // namespace v8 |
1236 | 1235 |
1237 #endif // V8_RUNTIME_RUNTIME_H_ | 1236 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |