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 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
495 F(RegExpExecMultiple, 4, 1) \ | 495 F(RegExpExecMultiple, 4, 1) \ |
496 F(RegExpExecReThrow, 4, 1) \ | 496 F(RegExpExecReThrow, 4, 1) \ |
497 F(IsRegExp, 1, 1) | 497 F(IsRegExp, 1, 1) |
498 | 498 |
499 #define FOR_EACH_INTRINSIC_SCOPES(F) \ | 499 #define FOR_EACH_INTRINSIC_SCOPES(F) \ |
500 F(ThrowConstAssignError, 0, 1) \ | 500 F(ThrowConstAssignError, 0, 1) \ |
501 F(DeclareGlobals, 2, 1) \ | 501 F(DeclareGlobals, 2, 1) \ |
502 F(InitializeVarGlobal, 3, 1) \ | 502 F(InitializeVarGlobal, 3, 1) \ |
503 F(InitializeConstGlobal, 2, 1) \ | 503 F(InitializeConstGlobal, 2, 1) \ |
504 F(DeclareLookupSlot, 3, 1) \ | 504 F(DeclareLookupSlot, 3, 1) \ |
505 F(InitializeLegacyConstLookupSlot, 3, 1) \ | |
506 F(NewSloppyArguments_Generic, 1, 1) \ | 505 F(NewSloppyArguments_Generic, 1, 1) \ |
507 F(NewStrictArguments, 1, 1) \ | 506 F(NewStrictArguments, 1, 1) \ |
508 F(NewRestParameter, 1, 1) \ | 507 F(NewRestParameter, 1, 1) \ |
509 F(NewSloppyArguments, 3, 1) \ | 508 F(NewSloppyArguments, 3, 1) \ |
510 F(NewClosure, 1, 1) \ | 509 F(NewClosure, 1, 1) \ |
511 F(NewClosure_Tenured, 1, 1) \ | 510 F(NewClosure_Tenured, 1, 1) \ |
512 F(NewScriptContext, 2, 1) \ | 511 F(NewScriptContext, 2, 1) \ |
513 F(NewFunctionContext, 1, 1) \ | 512 F(NewFunctionContext, 1, 1) \ |
514 F(PushWithContext, 2, 1) \ | 513 F(PushWithContext, 2, 1) \ |
515 F(PushCatchContext, 3, 1) \ | 514 F(PushCatchContext, 3, 1) \ |
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1184 | 1183 |
1185 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1184 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1186 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1185 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1187 STATIC_ASSERT(LANGUAGE_END == 3); | 1186 STATIC_ASSERT(LANGUAGE_END == 3); |
1188 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1187 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1189 | 1188 |
1190 } // namespace internal | 1189 } // namespace internal |
1191 } // namespace v8 | 1190 } // namespace v8 |
1192 | 1191 |
1193 #endif // V8_RUNTIME_RUNTIME_H_ | 1192 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |