| 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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 INLINE(void set_target_object(Object* target, | 394 INLINE(void set_target_object(Object* target, |
| 395 WriteBarrierMode mode = UPDATE_WRITE_BARRIER)); | 395 WriteBarrierMode mode = UPDATE_WRITE_BARRIER)); |
| 396 INLINE(Address target_runtime_entry(Assembler* origin)); | 396 INLINE(Address target_runtime_entry(Assembler* origin)); |
| 397 INLINE(void set_target_runtime_entry(Address target, | 397 INLINE(void set_target_runtime_entry(Address target, |
| 398 WriteBarrierMode mode = | 398 WriteBarrierMode mode = |
| 399 UPDATE_WRITE_BARRIER)); | 399 UPDATE_WRITE_BARRIER)); |
| 400 INLINE(Cell* target_cell()); | 400 INLINE(Cell* target_cell()); |
| 401 INLINE(Handle<Cell> target_cell_handle()); | 401 INLINE(Handle<Cell> target_cell_handle()); |
| 402 INLINE(void set_target_cell(Cell* cell, | 402 INLINE(void set_target_cell(Cell* cell, |
| 403 WriteBarrierMode mode = UPDATE_WRITE_BARRIER)); | 403 WriteBarrierMode mode = UPDATE_WRITE_BARRIER)); |
| 404 INLINE(Handle<Object> code_age_stub_handle(Assembler* origin)); |
| 404 INLINE(Code* code_age_stub()); | 405 INLINE(Code* code_age_stub()); |
| 405 INLINE(void set_code_age_stub(Code* stub)); | 406 INLINE(void set_code_age_stub(Code* stub)); |
| 406 | 407 |
| 407 // Read the address of the word containing the target_address in an | 408 // Read the address of the word containing the target_address in an |
| 408 // instruction stream. What this means exactly is architecture-independent. | 409 // instruction stream. What this means exactly is architecture-independent. |
| 409 // The only architecture-independent user of this function is the serializer. | 410 // The only architecture-independent user of this function is the serializer. |
| 410 // The serializer uses it to find out how many raw bytes of instruction to | 411 // The serializer uses it to find out how many raw bytes of instruction to |
| 411 // output before the next target. Architecture-independent code shouldn't | 412 // output before the next target. Architecture-independent code shouldn't |
| 412 // dereference the pointer it gets back from this. | 413 // dereference the pointer it gets back from this. |
| 413 INLINE(Address target_address_address()); | 414 INLINE(Address target_address_address()); |
| (...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 720 static ExternalReference fill_heap_number_with_random_function( | 721 static ExternalReference fill_heap_number_with_random_function( |
| 721 Isolate* isolate); | 722 Isolate* isolate); |
| 722 static ExternalReference random_uint32_function(Isolate* isolate); | 723 static ExternalReference random_uint32_function(Isolate* isolate); |
| 723 static ExternalReference transcendental_cache_array_address(Isolate* isolate); | 724 static ExternalReference transcendental_cache_array_address(Isolate* isolate); |
| 724 static ExternalReference delete_handle_scope_extensions(Isolate* isolate); | 725 static ExternalReference delete_handle_scope_extensions(Isolate* isolate); |
| 725 | 726 |
| 726 static ExternalReference get_date_field_function(Isolate* isolate); | 727 static ExternalReference get_date_field_function(Isolate* isolate); |
| 727 static ExternalReference date_cache_stamp(Isolate* isolate); | 728 static ExternalReference date_cache_stamp(Isolate* isolate); |
| 728 | 729 |
| 729 static ExternalReference get_make_code_young_function(Isolate* isolate); | 730 static ExternalReference get_make_code_young_function(Isolate* isolate); |
| 731 static ExternalReference get_mark_code_as_executed_function(Isolate* isolate); |
| 732 |
| 733 // New heap objects tracking support. |
| 734 static ExternalReference record_object_allocation_function(Isolate* isolate); |
| 730 | 735 |
| 731 // Deoptimization support. | 736 // Deoptimization support. |
| 732 static ExternalReference new_deoptimizer_function(Isolate* isolate); | 737 static ExternalReference new_deoptimizer_function(Isolate* isolate); |
| 733 static ExternalReference compute_output_frames_function(Isolate* isolate); | 738 static ExternalReference compute_output_frames_function(Isolate* isolate); |
| 734 | 739 |
| 735 // Log support. | 740 // Log support. |
| 736 static ExternalReference log_enter_external_function(Isolate* isolate); | 741 static ExternalReference log_enter_external_function(Isolate* isolate); |
| 737 static ExternalReference log_leave_external_function(Isolate* isolate); | 742 static ExternalReference log_leave_external_function(Isolate* isolate); |
| 738 | 743 |
| 739 // Static data in the keyed lookup cache. | 744 // Static data in the keyed lookup cache. |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 803 // Static variables containing common double constants. | 808 // Static variables containing common double constants. |
| 804 static ExternalReference address_of_min_int(); | 809 static ExternalReference address_of_min_int(); |
| 805 static ExternalReference address_of_one_half(); | 810 static ExternalReference address_of_one_half(); |
| 806 static ExternalReference address_of_minus_one_half(); | 811 static ExternalReference address_of_minus_one_half(); |
| 807 static ExternalReference address_of_minus_zero(); | 812 static ExternalReference address_of_minus_zero(); |
| 808 static ExternalReference address_of_zero(); | 813 static ExternalReference address_of_zero(); |
| 809 static ExternalReference address_of_uint8_max_value(); | 814 static ExternalReference address_of_uint8_max_value(); |
| 810 static ExternalReference address_of_negative_infinity(); | 815 static ExternalReference address_of_negative_infinity(); |
| 811 static ExternalReference address_of_canonical_non_hole_nan(); | 816 static ExternalReference address_of_canonical_non_hole_nan(); |
| 812 static ExternalReference address_of_the_hole_nan(); | 817 static ExternalReference address_of_the_hole_nan(); |
| 818 static ExternalReference address_of_uint32_bias(); |
| 813 | 819 |
| 814 static ExternalReference math_sin_double_function(Isolate* isolate); | 820 static ExternalReference math_sin_double_function(Isolate* isolate); |
| 815 static ExternalReference math_cos_double_function(Isolate* isolate); | 821 static ExternalReference math_cos_double_function(Isolate* isolate); |
| 816 static ExternalReference math_tan_double_function(Isolate* isolate); | 822 static ExternalReference math_tan_double_function(Isolate* isolate); |
| 817 static ExternalReference math_log_double_function(Isolate* isolate); | 823 static ExternalReference math_log_double_function(Isolate* isolate); |
| 818 | 824 |
| 819 static ExternalReference math_exp_constants(int constant_index); | 825 static ExternalReference math_exp_constants(int constant_index); |
| 820 static ExternalReference math_exp_log_table(); | 826 static ExternalReference math_exp_log_table(); |
| 821 | 827 |
| 822 static ExternalReference page_flags(Page* page); | 828 static ExternalReference page_flags(Page* page); |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1068 public: | 1074 public: |
| 1069 NullCallWrapper() { } | 1075 NullCallWrapper() { } |
| 1070 virtual ~NullCallWrapper() { } | 1076 virtual ~NullCallWrapper() { } |
| 1071 virtual void BeforeCall(int call_size) const { } | 1077 virtual void BeforeCall(int call_size) const { } |
| 1072 virtual void AfterCall() const { } | 1078 virtual void AfterCall() const { } |
| 1073 }; | 1079 }; |
| 1074 | 1080 |
| 1075 } } // namespace v8::internal | 1081 } } // namespace v8::internal |
| 1076 | 1082 |
| 1077 #endif // V8_ASSEMBLER_H_ | 1083 #endif // V8_ASSEMBLER_H_ |
| OLD | NEW |