| 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 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 635 | 636 |
| 636 static ExternalReference scheduled_exception_address(Isolate* isolate); | 637 static ExternalReference scheduled_exception_address(Isolate* isolate); |
| 637 | 638 |
| 638 // Static variables containing common double constants. | 639 // Static variables containing common double constants. |
| 639 static ExternalReference address_of_min_int(); | 640 static ExternalReference address_of_min_int(); |
| 640 static ExternalReference address_of_one_half(); | 641 static ExternalReference address_of_one_half(); |
| 641 static ExternalReference address_of_minus_zero(); | 642 static ExternalReference address_of_minus_zero(); |
| 642 static ExternalReference address_of_zero(); | 643 static ExternalReference address_of_zero(); |
| 643 static ExternalReference address_of_uint8_max_value(); | 644 static ExternalReference address_of_uint8_max_value(); |
| 644 static ExternalReference address_of_negative_infinity(); | 645 static ExternalReference address_of_negative_infinity(); |
| 645 static ExternalReference address_of_nan(); | 646 static ExternalReference address_of_canonical_non_hole_nan(); |
| 647 static ExternalReference address_of_the_hole_nan(); |
| 646 | 648 |
| 647 static ExternalReference math_sin_double_function(Isolate* isolate); | 649 static ExternalReference math_sin_double_function(Isolate* isolate); |
| 648 static ExternalReference math_cos_double_function(Isolate* isolate); | 650 static ExternalReference math_cos_double_function(Isolate* isolate); |
| 649 static ExternalReference math_log_double_function(Isolate* isolate); | 651 static ExternalReference math_log_double_function(Isolate* isolate); |
| 650 | 652 |
| 651 Address address() const {return reinterpret_cast<Address>(address_);} | 653 Address address() const {return reinterpret_cast<Address>(address_);} |
| 652 | 654 |
| 653 #ifdef ENABLE_DEBUGGER_SUPPORT | 655 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 654 // Function Debug::Break() | 656 // Function Debug::Break() |
| 655 static ExternalReference debug_break(Isolate* isolate); | 657 static ExternalReference debug_break(Isolate* isolate); |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 866 public: | 868 public: |
| 867 NullCallWrapper() { } | 869 NullCallWrapper() { } |
| 868 virtual ~NullCallWrapper() { } | 870 virtual ~NullCallWrapper() { } |
| 869 virtual void BeforeCall(int call_size) const { } | 871 virtual void BeforeCall(int call_size) const { } |
| 870 virtual void AfterCall() const { } | 872 virtual void AfterCall() const { } |
| 871 }; | 873 }; |
| 872 | 874 |
| 873 } } // namespace v8::internal | 875 } } // namespace v8::internal |
| 874 | 876 |
| 875 #endif // V8_ASSEMBLER_H_ | 877 #endif // V8_ASSEMBLER_H_ |
| OLD | NEW |