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); |
730 | 732 |
731 // New heap objects tracking support. | 733 // New heap objects tracking support. |
732 static ExternalReference record_object_allocation_function(Isolate* isolate); | 734 static ExternalReference record_object_allocation_function(Isolate* isolate); |
733 | 735 |
734 // Deoptimization support. | 736 // Deoptimization support. |
735 static ExternalReference new_deoptimizer_function(Isolate* isolate); | 737 static ExternalReference new_deoptimizer_function(Isolate* isolate); |
736 static ExternalReference compute_output_frames_function(Isolate* isolate); | 738 static ExternalReference compute_output_frames_function(Isolate* isolate); |
737 | 739 |
738 // Log support. | 740 // Log support. |
739 static ExternalReference log_enter_external_function(Isolate* isolate); | 741 static ExternalReference log_enter_external_function(Isolate* isolate); |
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1071 public: | 1073 public: |
1072 NullCallWrapper() { } | 1074 NullCallWrapper() { } |
1073 virtual ~NullCallWrapper() { } | 1075 virtual ~NullCallWrapper() { } |
1074 virtual void BeforeCall(int call_size) const { } | 1076 virtual void BeforeCall(int call_size) const { } |
1075 virtual void AfterCall() const { } | 1077 virtual void AfterCall() const { } |
1076 }; | 1078 }; |
1077 | 1079 |
1078 } } // namespace v8::internal | 1080 } } // namespace v8::internal |
1079 | 1081 |
1080 #endif // V8_ASSEMBLER_H_ | 1082 #endif // V8_ASSEMBLER_H_ |
OLD | NEW |