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 <memory> | 8 #include <memory> |
9 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 F(ToInteger, 1, 1) \ | 409 F(ToInteger, 1, 1) \ |
410 F(ToLength, 1, 1) \ | 410 F(ToLength, 1, 1) \ |
411 F(ToString, 1, 1) \ | 411 F(ToString, 1, 1) \ |
412 F(ToName, 1, 1) \ | 412 F(ToName, 1, 1) \ |
413 F(SameValue, 2, 1) \ | 413 F(SameValue, 2, 1) \ |
414 F(SameValueZero, 2, 1) \ | 414 F(SameValueZero, 2, 1) \ |
415 F(Compare, 3, 1) \ | 415 F(Compare, 3, 1) \ |
416 F(HasInPrototypeChain, 2, 1) \ | 416 F(HasInPrototypeChain, 2, 1) \ |
417 F(CreateIterResultObject, 2, 1) \ | 417 F(CreateIterResultObject, 2, 1) \ |
418 F(IsAccessCheckNeeded, 1, 1) \ | 418 F(IsAccessCheckNeeded, 1, 1) \ |
419 F(CreateDataProperty, 3, 1) | 419 F(CreateDataProperty, 3, 1) \ |
| 420 F(LoadModuleExport, 1, 1) \ |
| 421 F(StoreModuleExport, 2, 1) |
420 | 422 |
421 #define FOR_EACH_INTRINSIC_OPERATORS(F) \ | 423 #define FOR_EACH_INTRINSIC_OPERATORS(F) \ |
422 F(Multiply, 2, 1) \ | 424 F(Multiply, 2, 1) \ |
423 F(Divide, 2, 1) \ | 425 F(Divide, 2, 1) \ |
424 F(Modulus, 2, 1) \ | 426 F(Modulus, 2, 1) \ |
425 F(Add, 2, 1) \ | 427 F(Add, 2, 1) \ |
426 F(Subtract, 2, 1) \ | 428 F(Subtract, 2, 1) \ |
427 F(ShiftLeft, 2, 1) \ | 429 F(ShiftLeft, 2, 1) \ |
428 F(ShiftRight, 2, 1) \ | 430 F(ShiftRight, 2, 1) \ |
429 F(ShiftRightLogical, 2, 1) \ | 431 F(ShiftRightLogical, 2, 1) \ |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
468 F(DeclareEvalFunction, 2, 1) \ | 470 F(DeclareEvalFunction, 2, 1) \ |
469 F(DeclareEvalVar, 1, 1) \ | 471 F(DeclareEvalVar, 1, 1) \ |
470 F(NewSloppyArguments_Generic, 1, 1) \ | 472 F(NewSloppyArguments_Generic, 1, 1) \ |
471 F(NewStrictArguments, 1, 1) \ | 473 F(NewStrictArguments, 1, 1) \ |
472 F(NewRestParameter, 1, 1) \ | 474 F(NewRestParameter, 1, 1) \ |
473 F(NewSloppyArguments, 3, 1) \ | 475 F(NewSloppyArguments, 3, 1) \ |
474 F(NewClosure, 1, 1) \ | 476 F(NewClosure, 1, 1) \ |
475 F(NewClosure_Tenured, 1, 1) \ | 477 F(NewClosure_Tenured, 1, 1) \ |
476 F(NewScriptContext, 2, 1) \ | 478 F(NewScriptContext, 2, 1) \ |
477 F(NewFunctionContext, 1, 1) \ | 479 F(NewFunctionContext, 1, 1) \ |
| 480 F(PushModuleContext, 3, 1) \ |
478 F(PushWithContext, 3, 1) \ | 481 F(PushWithContext, 3, 1) \ |
479 F(PushCatchContext, 4, 1) \ | 482 F(PushCatchContext, 4, 1) \ |
480 F(PushBlockContext, 2, 1) \ | 483 F(PushBlockContext, 2, 1) \ |
481 F(DeleteLookupSlot, 1, 1) \ | 484 F(DeleteLookupSlot, 1, 1) \ |
482 F(LoadLookupSlot, 1, 1) \ | 485 F(LoadLookupSlot, 1, 1) \ |
483 F(LoadLookupSlotInsideTypeof, 1, 1) \ | 486 F(LoadLookupSlotInsideTypeof, 1, 1) \ |
484 F(StoreLookupSlot_Sloppy, 2, 1) \ | 487 F(StoreLookupSlot_Sloppy, 2, 1) \ |
485 F(StoreLookupSlot_Strict, 2, 1) | 488 F(StoreLookupSlot_Strict, 2, 1) |
486 | 489 |
487 #define FOR_EACH_INTRINSIC_SIMD(F) \ | 490 #define FOR_EACH_INTRINSIC_SIMD(F) \ |
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1123 | 1126 |
1124 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1127 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1125 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1128 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1126 STATIC_ASSERT(LANGUAGE_END == 2); | 1129 STATIC_ASSERT(LANGUAGE_END == 2); |
1127 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; | 1130 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; |
1128 | 1131 |
1129 } // namespace internal | 1132 } // namespace internal |
1130 } // namespace v8 | 1133 } // namespace v8 |
1131 | 1134 |
1132 #endif // V8_RUNTIME_RUNTIME_H_ | 1135 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |