| 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 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 557 | 557 |
| 558 // If true, the pointer this relocation info refers to is an entry in the | 558 // If true, the pointer this relocation info refers to is an entry in the |
| 559 // constant pool, otherwise the pointer is embedded in the instruction stream. | 559 // constant pool, otherwise the pointer is embedded in the instruction stream. |
| 560 bool IsInConstantPool(); | 560 bool IsInConstantPool(); |
| 561 | 561 |
| 562 Address wasm_memory_reference(); | 562 Address wasm_memory_reference(); |
| 563 Address wasm_global_reference(); | 563 Address wasm_global_reference(); |
| 564 uint32_t wasm_memory_size_reference(); | 564 uint32_t wasm_memory_size_reference(); |
| 565 void update_wasm_memory_reference( | 565 void update_wasm_memory_reference( |
| 566 Address old_base, Address new_base, uint32_t old_size, uint32_t new_size, | 566 Address old_base, Address new_base, uint32_t old_size, uint32_t new_size, |
| 567 ICacheFlushMode icache_flush_mode = SKIP_ICACHE_FLUSH); | 567 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED); |
| 568 void update_wasm_global_reference( | 568 void update_wasm_global_reference( |
| 569 Address old_base, Address new_base, | 569 Address old_base, Address new_base, |
| 570 ICacheFlushMode icache_flush_mode = SKIP_ICACHE_FLUSH); | 570 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED); |
| 571 | 571 |
| 572 // this relocation applies to; | 572 // this relocation applies to; |
| 573 // can only be called if IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_) | 573 // can only be called if IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_) |
| 574 INLINE(Address target_address()); | 574 INLINE(Address target_address()); |
| 575 INLINE(void set_target_address( | 575 INLINE(void set_target_address( |
| 576 Address target, | 576 Address target, |
| 577 WriteBarrierMode write_barrier_mode = UPDATE_WRITE_BARRIER, | 577 WriteBarrierMode write_barrier_mode = UPDATE_WRITE_BARRIER, |
| 578 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED)); | 578 ICacheFlushMode icache_flush_mode = FLUSH_ICACHE_IF_NEEDED)); |
| 579 INLINE(Object* target_object()); | 579 INLINE(Object* target_object()); |
| 580 INLINE(Handle<Object> target_object_handle(Assembler* origin)); | 580 INLINE(Handle<Object> target_object_handle(Assembler* origin)); |
| (...skipping 756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1337 std::vector<ConstantPoolEntry> shared_entries; | 1337 std::vector<ConstantPoolEntry> shared_entries; |
| 1338 }; | 1338 }; |
| 1339 | 1339 |
| 1340 Label emitted_label_; // Records pc_offset of emitted pool | 1340 Label emitted_label_; // Records pc_offset of emitted pool |
| 1341 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; | 1341 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; |
| 1342 }; | 1342 }; |
| 1343 | 1343 |
| 1344 } // namespace internal | 1344 } // namespace internal |
| 1345 } // namespace v8 | 1345 } // namespace v8 |
| 1346 #endif // V8_ASSEMBLER_H_ | 1346 #endif // V8_ASSEMBLER_H_ |
| OLD | NEW |