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 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
464 F(StringSplit, 3, 1) \ | 464 F(StringSplit, 3, 1) \ |
465 F(RegExpExec, 4, 1) \ | 465 F(RegExpExec, 4, 1) \ |
466 F(RegExpFlags, 1, 1) \ | 466 F(RegExpFlags, 1, 1) \ |
467 F(RegExpSource, 1, 1) \ | 467 F(RegExpSource, 1, 1) \ |
468 F(RegExpConstructResult, 3, 1) \ | 468 F(RegExpConstructResult, 3, 1) \ |
469 F(RegExpInitializeAndCompile, 3, 1) \ | 469 F(RegExpInitializeAndCompile, 3, 1) \ |
470 F(RegExpExecMultiple, 4, 1) \ | 470 F(RegExpExecMultiple, 4, 1) \ |
471 F(RegExpExecReThrow, 4, 1) \ | 471 F(RegExpExecReThrow, 4, 1) \ |
472 F(IsRegExp, 1, 1) | 472 F(IsRegExp, 1, 1) |
473 | 473 |
474 #define FOR_EACH_INTRINSIC_SCOPES(F) \ | 474 #define FOR_EACH_INTRINSIC_SCOPES(F) \ |
475 F(ThrowConstAssignError, 0, 1) \ | 475 F(ThrowConstAssignError, 0, 1) \ |
476 F(DeclareGlobals, 2, 1) \ | 476 F(DeclareGlobals, 3, 1) \ |
477 F(InitializeVarGlobal, 3, 1) \ | 477 F(DeclareGlobalsForInterpreter, 3, 1) \ |
478 F(InitializeConstGlobal, 2, 1) \ | 478 F(InitializeVarGlobal, 3, 1) \ |
479 F(DeclareEvalFunction, 2, 1) \ | 479 F(InitializeConstGlobal, 2, 1) \ |
480 F(DeclareEvalVar, 1, 1) \ | 480 F(DeclareEvalFunction, 2, 1) \ |
481 F(NewSloppyArguments_Generic, 1, 1) \ | 481 F(DeclareEvalVar, 1, 1) \ |
482 F(NewStrictArguments, 1, 1) \ | 482 F(NewSloppyArguments_Generic, 1, 1) \ |
483 F(NewRestParameter, 1, 1) \ | 483 F(NewStrictArguments, 1, 1) \ |
484 F(NewSloppyArguments, 3, 1) \ | 484 F(NewRestParameter, 1, 1) \ |
485 F(NewClosure, 1, 1) \ | 485 F(NewSloppyArguments, 3, 1) \ |
486 F(NewClosure_Tenured, 1, 1) \ | 486 F(NewClosure, 1, 1) \ |
487 F(NewScriptContext, 2, 1) \ | 487 F(NewClosure_Tenured, 1, 1) \ |
488 F(NewFunctionContext, 1, 1) \ | 488 F(NewScriptContext, 2, 1) \ |
489 F(PushWithContext, 2, 1) \ | 489 F(NewFunctionContext, 1, 1) \ |
490 F(PushCatchContext, 3, 1) \ | 490 F(PushWithContext, 2, 1) \ |
491 F(PushBlockContext, 2, 1) \ | 491 F(PushCatchContext, 3, 1) \ |
492 F(DeleteLookupSlot, 1, 1) \ | 492 F(PushBlockContext, 2, 1) \ |
493 F(LoadLookupSlot, 1, 1) \ | 493 F(DeleteLookupSlot, 1, 1) \ |
494 F(LoadLookupSlotInsideTypeof, 1, 1) \ | 494 F(LoadLookupSlot, 1, 1) \ |
495 F(StoreLookupSlot_Sloppy, 2, 1) \ | 495 F(LoadLookupSlotInsideTypeof, 1, 1) \ |
| 496 F(StoreLookupSlot_Sloppy, 2, 1) \ |
496 F(StoreLookupSlot_Strict, 2, 1) | 497 F(StoreLookupSlot_Strict, 2, 1) |
497 | 498 |
498 #define FOR_EACH_INTRINSIC_SIMD(F) \ | 499 #define FOR_EACH_INTRINSIC_SIMD(F) \ |
499 F(IsSimdValue, 1, 1) \ | 500 F(IsSimdValue, 1, 1) \ |
500 F(CreateFloat32x4, 4, 1) \ | 501 F(CreateFloat32x4, 4, 1) \ |
501 F(CreateInt32x4, 4, 1) \ | 502 F(CreateInt32x4, 4, 1) \ |
502 F(CreateUint32x4, 4, 1) \ | 503 F(CreateUint32x4, 4, 1) \ |
503 F(CreateBool32x4, 4, 1) \ | 504 F(CreateBool32x4, 4, 1) \ |
504 F(CreateInt16x8, 8, 1) \ | 505 F(CreateInt16x8, 8, 1) \ |
505 F(CreateUint16x8, 8, 1) \ | 506 F(CreateUint16x8, 8, 1) \ |
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1140 | 1141 |
1141 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1142 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1142 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1143 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1143 STATIC_ASSERT(LANGUAGE_END == 3); | 1144 STATIC_ASSERT(LANGUAGE_END == 3); |
1144 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1145 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1145 | 1146 |
1146 } // namespace internal | 1147 } // namespace internal |
1147 } // namespace v8 | 1148 } // namespace v8 |
1148 | 1149 |
1149 #endif // V8_RUNTIME_RUNTIME_H_ | 1150 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |