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 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
460 F(ToPrimitive, 1, 1) \ | 460 F(ToPrimitive, 1, 1) \ |
461 F(ToPrimitive_Number, 1, 1) \ | 461 F(ToPrimitive_Number, 1, 1) \ |
462 F(ToPrimitive_String, 1, 1) \ | 462 F(ToPrimitive_String, 1, 1) \ |
463 F(ToNumber, 1, 1) \ | 463 F(ToNumber, 1, 1) \ |
464 F(ToInteger, 1, 1) \ | 464 F(ToInteger, 1, 1) \ |
465 F(ToLength, 1, 1) \ | 465 F(ToLength, 1, 1) \ |
466 F(ToString, 1, 1) \ | 466 F(ToString, 1, 1) \ |
467 F(ToName, 1, 1) \ | 467 F(ToName, 1, 1) \ |
468 F(Equals, 2, 1) \ | 468 F(Equals, 2, 1) \ |
469 F(StrictEquals, 2, 1) \ | 469 F(StrictEquals, 2, 1) \ |
| 470 F(SameValue, 2, 1) \ |
| 471 F(SameValueZero, 2, 1) \ |
470 F(Compare, 3, 1) \ | 472 F(Compare, 3, 1) \ |
471 F(InstanceOf, 2, 1) \ | 473 F(InstanceOf, 2, 1) \ |
472 F(HasInPrototypeChain, 2, 1) \ | 474 F(HasInPrototypeChain, 2, 1) \ |
473 F(CreateIterResultObject, 2, 1) \ | 475 F(CreateIterResultObject, 2, 1) \ |
474 F(IsAccessCheckNeeded, 1, 1) \ | 476 F(IsAccessCheckNeeded, 1, 1) \ |
475 F(ObjectDefineProperties, 2, 1) \ | 477 F(ObjectDefineProperties, 2, 1) \ |
476 F(ObjectDefineProperty, 3, 1) | 478 F(ObjectDefineProperty, 3, 1) |
477 | 479 |
478 #define FOR_EACH_INTRINSIC_OBSERVE(F) \ | 480 #define FOR_EACH_INTRINSIC_OBSERVE(F) \ |
479 F(IsObserved, 1, 1) \ | 481 F(IsObserved, 1, 1) \ |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
543 F(PushModuleContext, 2, 1) \ | 545 F(PushModuleContext, 2, 1) \ |
544 F(DeclareModules, 1, 1) \ | 546 F(DeclareModules, 1, 1) \ |
545 F(DeleteLookupSlot, 1, 1) \ | 547 F(DeleteLookupSlot, 1, 1) \ |
546 F(LoadLookupSlot, 1, 1) \ | 548 F(LoadLookupSlot, 1, 1) \ |
547 F(LoadLookupSlotInsideTypeof, 1, 1) \ | 549 F(LoadLookupSlotInsideTypeof, 1, 1) \ |
548 F(StoreLookupSlot_Sloppy, 2, 1) \ | 550 F(StoreLookupSlot_Sloppy, 2, 1) \ |
549 F(StoreLookupSlot_Strict, 2, 1) | 551 F(StoreLookupSlot_Strict, 2, 1) |
550 | 552 |
551 #define FOR_EACH_INTRINSIC_SIMD(F) \ | 553 #define FOR_EACH_INTRINSIC_SIMD(F) \ |
552 F(IsSimdValue, 1, 1) \ | 554 F(IsSimdValue, 1, 1) \ |
553 F(SimdSameValue, 2, 1) \ | |
554 F(SimdSameValueZero, 2, 1) \ | |
555 F(CreateFloat32x4, 4, 1) \ | 555 F(CreateFloat32x4, 4, 1) \ |
556 F(CreateInt32x4, 4, 1) \ | 556 F(CreateInt32x4, 4, 1) \ |
557 F(CreateUint32x4, 4, 1) \ | 557 F(CreateUint32x4, 4, 1) \ |
558 F(CreateBool32x4, 4, 1) \ | 558 F(CreateBool32x4, 4, 1) \ |
559 F(CreateInt16x8, 8, 1) \ | 559 F(CreateInt16x8, 8, 1) \ |
560 F(CreateUint16x8, 8, 1) \ | 560 F(CreateUint16x8, 8, 1) \ |
561 F(CreateBool16x8, 8, 1) \ | 561 F(CreateBool16x8, 8, 1) \ |
562 F(CreateInt8x16, 16, 1) \ | 562 F(CreateInt8x16, 16, 1) \ |
563 F(CreateUint8x16, 16, 1) \ | 563 F(CreateUint8x16, 16, 1) \ |
564 F(CreateBool8x16, 16, 1) \ | 564 F(CreateBool8x16, 16, 1) \ |
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1209 | 1209 |
1210 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1210 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1211 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1211 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1212 STATIC_ASSERT(LANGUAGE_END == 3); | 1212 STATIC_ASSERT(LANGUAGE_END == 3); |
1213 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1213 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1214 | 1214 |
1215 } // namespace internal | 1215 } // namespace internal |
1216 } // namespace v8 | 1216 } // namespace v8 |
1217 | 1217 |
1218 #endif // V8_RUNTIME_RUNTIME_H_ | 1218 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |