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/objects.h" | 9 #include "src/objects.h" |
10 #include "src/unicode.h" | 10 #include "src/unicode.h" |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 F(IsValidSmi, 1, 1) \ | 400 F(IsValidSmi, 1, 1) \ |
401 F(StringToNumber, 1, 1) \ | 401 F(StringToNumber, 1, 1) \ |
402 F(StringParseInt, 2, 1) \ | 402 F(StringParseInt, 2, 1) \ |
403 F(StringParseFloat, 1, 1) \ | 403 F(StringParseFloat, 1, 1) \ |
404 F(NumberToString, 1, 1) \ | 404 F(NumberToString, 1, 1) \ |
405 F(NumberToStringSkipCache, 1, 1) \ | 405 F(NumberToStringSkipCache, 1, 1) \ |
406 F(NumberToInteger, 1, 1) \ | 406 F(NumberToInteger, 1, 1) \ |
407 F(NumberToIntegerMapMinusZero, 1, 1) \ | 407 F(NumberToIntegerMapMinusZero, 1, 1) \ |
408 F(NumberToSmi, 1, 1) \ | 408 F(NumberToSmi, 1, 1) \ |
409 F(NumberImul, 2, 1) \ | 409 F(NumberImul, 2, 1) \ |
410 F(NumberEquals, 2, 1) \ | |
411 F(NumberCompare, 3, 1) \ | 410 F(NumberCompare, 3, 1) \ |
412 F(SmiLexicographicCompare, 2, 1) \ | 411 F(SmiLexicographicCompare, 2, 1) \ |
413 F(MaxSmi, 0, 1) \ | 412 F(MaxSmi, 0, 1) \ |
414 F(IsSmi, 1, 1) \ | 413 F(IsSmi, 1, 1) \ |
415 F(GetRootNaN, 0, 1) | 414 F(GetRootNaN, 0, 1) |
416 | 415 |
417 | 416 |
418 #define FOR_EACH_INTRINSIC_OBJECT(F) \ | 417 #define FOR_EACH_INTRINSIC_OBJECT(F) \ |
419 F(GetPrototype, 1, 1) \ | 418 F(GetPrototype, 1, 1) \ |
420 F(InternalSetPrototype, 2, 1) \ | 419 F(InternalSetPrototype, 2, 1) \ |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
473 F(ClassOf, 1, 1) \ | 472 F(ClassOf, 1, 1) \ |
474 F(DefineGetterPropertyUnchecked, 4, 1) \ | 473 F(DefineGetterPropertyUnchecked, 4, 1) \ |
475 F(DefineSetterPropertyUnchecked, 4, 1) \ | 474 F(DefineSetterPropertyUnchecked, 4, 1) \ |
476 F(ToObject, 1, 1) \ | 475 F(ToObject, 1, 1) \ |
477 F(ToPrimitive, 1, 1) \ | 476 F(ToPrimitive, 1, 1) \ |
478 F(ToPrimitive_Number, 1, 1) \ | 477 F(ToPrimitive_Number, 1, 1) \ |
479 F(ToPrimitive_String, 1, 1) \ | 478 F(ToPrimitive_String, 1, 1) \ |
480 F(ToNumber, 1, 1) \ | 479 F(ToNumber, 1, 1) \ |
481 F(ToString, 1, 1) \ | 480 F(ToString, 1, 1) \ |
482 F(ToName, 1, 1) \ | 481 F(ToName, 1, 1) \ |
| 482 F(Equals, 2, 1) \ |
483 F(StrictEquals, 2, 1) \ | 483 F(StrictEquals, 2, 1) \ |
484 F(InstanceOf, 2, 1) \ | 484 F(InstanceOf, 2, 1) \ |
485 F(HasInPrototypeChain, 2, 1) \ | 485 F(HasInPrototypeChain, 2, 1) \ |
486 F(CreateIterResultObject, 2, 1) | 486 F(CreateIterResultObject, 2, 1) |
487 | 487 |
488 | 488 |
489 #define FOR_EACH_INTRINSIC_OBSERVE(F) \ | 489 #define FOR_EACH_INTRINSIC_OBSERVE(F) \ |
490 F(IsObserved, 1, 1) \ | 490 F(IsObserved, 1, 1) \ |
491 F(SetIsObserved, 1, 1) \ | 491 F(SetIsObserved, 1, 1) \ |
492 F(EnqueueMicrotask, 1, 1) \ | 492 F(EnqueueMicrotask, 1, 1) \ |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
569 F(PushModuleContext, 2, 1) \ | 569 F(PushModuleContext, 2, 1) \ |
570 F(DeclareModules, 1, 1) \ | 570 F(DeclareModules, 1, 1) \ |
571 F(DeleteLookupSlot, 2, 1) \ | 571 F(DeleteLookupSlot, 2, 1) \ |
572 F(StoreLookupSlot, 4, 1) \ | 572 F(StoreLookupSlot, 4, 1) \ |
573 F(ArgumentsLength, 0, 1) \ | 573 F(ArgumentsLength, 0, 1) \ |
574 F(Arguments, 1, 1) | 574 F(Arguments, 1, 1) |
575 | 575 |
576 | 576 |
577 #define FOR_EACH_INTRINSIC_SIMD(F) \ | 577 #define FOR_EACH_INTRINSIC_SIMD(F) \ |
578 F(IsSimdValue, 1, 1) \ | 578 F(IsSimdValue, 1, 1) \ |
579 F(SimdToObject, 1, 1) \ | |
580 F(SimdEquals, 2, 1) \ | |
581 F(SimdSameValue, 2, 1) \ | 579 F(SimdSameValue, 2, 1) \ |
582 F(SimdSameValueZero, 2, 1) \ | 580 F(SimdSameValueZero, 2, 1) \ |
583 F(CreateFloat32x4, 4, 1) \ | 581 F(CreateFloat32x4, 4, 1) \ |
584 F(CreateInt32x4, 4, 1) \ | 582 F(CreateInt32x4, 4, 1) \ |
585 F(CreateUint32x4, 4, 1) \ | 583 F(CreateUint32x4, 4, 1) \ |
586 F(CreateBool32x4, 4, 1) \ | 584 F(CreateBool32x4, 4, 1) \ |
587 F(CreateInt16x8, 8, 1) \ | 585 F(CreateInt16x8, 8, 1) \ |
588 F(CreateUint16x8, 8, 1) \ | 586 F(CreateUint16x8, 8, 1) \ |
589 F(CreateBool16x8, 8, 1) \ | 587 F(CreateBool16x8, 8, 1) \ |
590 F(CreateInt8x16, 16, 1) \ | 588 F(CreateInt8x16, 16, 1) \ |
(...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1233 | 1231 |
1234 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1232 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1235 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1233 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1236 STATIC_ASSERT(LANGUAGE_END == 3); | 1234 STATIC_ASSERT(LANGUAGE_END == 3); |
1237 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1235 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1238 | 1236 |
1239 } // namespace internal | 1237 } // namespace internal |
1240 } // namespace v8 | 1238 } // namespace v8 |
1241 | 1239 |
1242 #endif // V8_RUNTIME_RUNTIME_H_ | 1240 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |