| 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 | 5 // modification, are permitted provided that the following conditions |
| 6 // are met: | 6 // are 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 return Assembler::target_address_at(pc_, host_); | 189 return Assembler::target_address_at(pc_, host_); |
| 190 } | 190 } |
| 191 | 191 |
| 192 | 192 |
| 193 Address RelocInfo::target_internal_reference() { | 193 Address RelocInfo::target_internal_reference() { |
| 194 DCHECK(rmode_ == INTERNAL_REFERENCE); | 194 DCHECK(rmode_ == INTERNAL_REFERENCE); |
| 195 return Memory::Address_at(pc_); | 195 return Memory::Address_at(pc_); |
| 196 } | 196 } |
| 197 | 197 |
| 198 | 198 |
| 199 void RelocInfo::set_target_internal_reference(Address target) { | 199 void RelocInfo::set_target_internal_reference( |
| 200 Address target, ICacheFlushMode icache_flush_mode) { |
| 200 DCHECK(rmode_ == INTERNAL_REFERENCE); | 201 DCHECK(rmode_ == INTERNAL_REFERENCE); |
| 201 Memory::Address_at(pc_) = target; | 202 Memory::Address_at(pc_) = target; |
| 202 } | 203 } |
| 203 | 204 |
| 204 | 205 |
| 205 Address RelocInfo::target_runtime_entry(Assembler* origin) { | 206 Address RelocInfo::target_runtime_entry(Assembler* origin) { |
| 206 DCHECK(IsRuntimeEntry(rmode_)); | 207 DCHECK(IsRuntimeEntry(rmode_)); |
| 207 return target_address(); | 208 return target_address(); |
| 208 } | 209 } |
| 209 | 210 |
| (...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 681 if (icache_flush_mode != SKIP_ICACHE_FLUSH) { | 682 if (icache_flush_mode != SKIP_ICACHE_FLUSH) { |
| 682 CpuFeatures::FlushICache(pc, 4 * kInstrSize); | 683 CpuFeatures::FlushICache(pc, 4 * kInstrSize); |
| 683 } | 684 } |
| 684 } | 685 } |
| 685 } | 686 } |
| 686 | 687 |
| 687 | 688 |
| 688 } } // namespace v8::internal | 689 } } // namespace v8::internal |
| 689 | 690 |
| 690 #endif // V8_ARM_ASSEMBLER_ARM_INL_H_ | 691 #endif // V8_ARM_ASSEMBLER_ARM_INL_H_ |
| OLD | NEW |