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 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
549 | 549 |
550 Address wasm_memory_reference(); | 550 Address wasm_memory_reference(); |
551 Address wasm_global_reference(); | 551 Address wasm_global_reference(); |
552 uint32_t wasm_memory_size_reference(); | 552 uint32_t wasm_memory_size_reference(); |
553 void update_wasm_memory_reference( | 553 void update_wasm_memory_reference( |
554 Address old_base, Address new_base, uint32_t old_size, uint32_t new_size, | 554 Address old_base, Address new_base, uint32_t old_size, uint32_t new_size, |
555 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED); | 555 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED); |
556 void update_wasm_global_reference( | 556 void update_wasm_global_reference( |
557 Address old_base, Address new_base, | 557 Address old_base, Address new_base, |
558 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED); | 558 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED); |
| 559 void set_target_address( |
| 560 Address target, |
| 561 WriteBarrierMode write_barrier_mode = UPDATE_WRITE_BARRIER, |
| 562 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED); |
559 | 563 |
560 // this relocation applies to; | 564 // this relocation applies to; |
561 // can only be called if IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_) | 565 // can only be called if IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_) |
562 INLINE(Address target_address()); | 566 INLINE(Address target_address()); |
563 INLINE(void set_target_address( | |
564 Address target, | |
565 WriteBarrierMode write_barrier_mode = UPDATE_WRITE_BARRIER, | |
566 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED)); | |
567 INLINE(Object* target_object()); | 567 INLINE(Object* target_object()); |
568 INLINE(Handle<Object> target_object_handle(Assembler* origin)); | 568 INLINE(Handle<Object> target_object_handle(Assembler* origin)); |
569 INLINE(void set_target_object( | 569 INLINE(void set_target_object( |
570 Object* target, | 570 Object* target, |
571 WriteBarrierMode write_barrier_mode = UPDATE_WRITE_BARRIER, | 571 WriteBarrierMode write_barrier_mode = UPDATE_WRITE_BARRIER, |
572 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED)); | 572 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED)); |
573 INLINE(Address target_runtime_entry(Assembler* origin)); | 573 INLINE(Address target_runtime_entry(Assembler* origin)); |
574 INLINE(void set_target_runtime_entry( | 574 INLINE(void set_target_runtime_entry( |
575 Address target, | 575 Address target, |
576 WriteBarrierMode write_barrier_mode = UPDATE_WRITE_BARRIER, | 576 WriteBarrierMode write_barrier_mode = UPDATE_WRITE_BARRIER, |
(...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1272 std::vector<ConstantPoolEntry> shared_entries; | 1272 std::vector<ConstantPoolEntry> shared_entries; |
1273 }; | 1273 }; |
1274 | 1274 |
1275 Label emitted_label_; // Records pc_offset of emitted pool | 1275 Label emitted_label_; // Records pc_offset of emitted pool |
1276 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; | 1276 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; |
1277 }; | 1277 }; |
1278 | 1278 |
1279 } // namespace internal | 1279 } // namespace internal |
1280 } // namespace v8 | 1280 } // namespace v8 |
1281 #endif // V8_ASSEMBLER_H_ | 1281 #endif // V8_ASSEMBLER_H_ |
OLD | NEW |