OLD | NEW |
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
2 // All Rights Reserved. | 2 // All Rights Reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // met: |
7 // | 7 // |
8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
10 // | 10 // |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 // Common double constants. | 63 // Common double constants. |
64 | 64 |
65 class DoubleConstant: public AllStatic { | 65 class DoubleConstant: public AllStatic { |
66 public: | 66 public: |
67 static const double min_int; | 67 static const double min_int; |
68 static const double one_half; | 68 static const double one_half; |
69 static const double minus_zero; | 69 static const double minus_zero; |
70 static const double zero; | 70 static const double zero; |
71 static const double uint8_max_value; | 71 static const double uint8_max_value; |
72 static const double negative_infinity; | 72 static const double negative_infinity; |
73 static const double nan; | 73 static const double canonical_non_hole_nan; |
| 74 static const double the_hole_nan; |
74 }; | 75 }; |
75 | 76 |
76 | 77 |
77 // ----------------------------------------------------------------------------- | 78 // ----------------------------------------------------------------------------- |
78 // Labels represent pc locations; they are typically jump or call targets. | 79 // Labels represent pc locations; they are typically jump or call targets. |
79 // After declaration, a label can be freely used to denote known or (yet) | 80 // After declaration, a label can be freely used to denote known or (yet) |
80 // unknown pc location. Assembler::bind() is used to bind a label to the | 81 // unknown pc location. Assembler::bind() is used to bind a label to the |
81 // current pc. A label can be bound only once. | 82 // current pc. A label can be bound only once. |
82 | 83 |
83 class Label BASE_EMBEDDED { | 84 class Label BASE_EMBEDDED { |
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
622 | 623 |
623 static ExternalReference scheduled_exception_address(Isolate* isolate); | 624 static ExternalReference scheduled_exception_address(Isolate* isolate); |
624 | 625 |
625 // Static variables containing common double constants. | 626 // Static variables containing common double constants. |
626 static ExternalReference address_of_min_int(); | 627 static ExternalReference address_of_min_int(); |
627 static ExternalReference address_of_one_half(); | 628 static ExternalReference address_of_one_half(); |
628 static ExternalReference address_of_minus_zero(); | 629 static ExternalReference address_of_minus_zero(); |
629 static ExternalReference address_of_zero(); | 630 static ExternalReference address_of_zero(); |
630 static ExternalReference address_of_uint8_max_value(); | 631 static ExternalReference address_of_uint8_max_value(); |
631 static ExternalReference address_of_negative_infinity(); | 632 static ExternalReference address_of_negative_infinity(); |
632 static ExternalReference address_of_nan(); | 633 static ExternalReference address_of_canonical_non_hole_nan(); |
| 634 static ExternalReference address_of_the_hole_nan(); |
633 | 635 |
634 static ExternalReference math_sin_double_function(Isolate* isolate); | 636 static ExternalReference math_sin_double_function(Isolate* isolate); |
635 static ExternalReference math_cos_double_function(Isolate* isolate); | 637 static ExternalReference math_cos_double_function(Isolate* isolate); |
636 static ExternalReference math_log_double_function(Isolate* isolate); | 638 static ExternalReference math_log_double_function(Isolate* isolate); |
637 | 639 |
638 Address address() const {return reinterpret_cast<Address>(address_);} | 640 Address address() const {return reinterpret_cast<Address>(address_);} |
639 | 641 |
640 #ifdef ENABLE_DEBUGGER_SUPPORT | 642 #ifdef ENABLE_DEBUGGER_SUPPORT |
641 // Function Debug::Break() | 643 // Function Debug::Break() |
642 static ExternalReference debug_break(Isolate* isolate); | 644 static ExternalReference debug_break(Isolate* isolate); |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
853 public: | 855 public: |
854 NullCallWrapper() { } | 856 NullCallWrapper() { } |
855 virtual ~NullCallWrapper() { } | 857 virtual ~NullCallWrapper() { } |
856 virtual void BeforeCall(int call_size) const { } | 858 virtual void BeforeCall(int call_size) const { } |
857 virtual void AfterCall() const { } | 859 virtual void AfterCall() const { } |
858 }; | 860 }; |
859 | 861 |
860 } } // namespace v8::internal | 862 } } // namespace v8::internal |
861 | 863 |
862 #endif // V8_ASSEMBLER_H_ | 864 #endif // V8_ASSEMBLER_H_ |
OLD | NEW |