| OLD | NEW |
| 1 | 1 |
| 2 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 2 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
| 3 // All Rights Reserved. | 3 // All Rights Reserved. |
| 4 // | 4 // |
| 5 // Redistribution and use in source and binary forms, with or without | 5 // Redistribution and use in source and binary forms, with or without |
| 6 // modification, are permitted provided that the following conditions are | 6 // modification, are permitted provided that the following conditions are |
| 7 // met: | 7 // met: |
| 8 // | 8 // |
| 9 // - Redistributions of source code must retain the above copyright notice, | 9 // - Redistributions of source code must retain the above copyright notice, |
| 10 // this list of conditions and the following disclaimer. | 10 // this list of conditions and the following disclaimer. |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 return Assembler::target_address_at(pc_, host_); | 234 return Assembler::target_address_at(pc_, host_); |
| 235 } | 235 } |
| 236 | 236 |
| 237 | 237 |
| 238 Address RelocInfo::target_internal_reference() { | 238 Address RelocInfo::target_internal_reference() { |
| 239 DCHECK(rmode_ == INTERNAL_REFERENCE); | 239 DCHECK(rmode_ == INTERNAL_REFERENCE); |
| 240 return Memory::Address_at(pc_); | 240 return Memory::Address_at(pc_); |
| 241 } | 241 } |
| 242 | 242 |
| 243 | 243 |
| 244 void RelocInfo::set_target_internal_reference(Address target) { | 244 void RelocInfo::set_target_internal_reference( |
| 245 Address target, ICacheFlushMode icache_flush_mode) { |
| 245 DCHECK(rmode_ == INTERNAL_REFERENCE); | 246 DCHECK(rmode_ == INTERNAL_REFERENCE); |
| 246 Memory::Address_at(pc_) = target; | 247 Memory::Address_at(pc_) = target; |
| 247 } | 248 } |
| 248 | 249 |
| 249 | 250 |
| 250 Address RelocInfo::target_runtime_entry(Assembler* origin) { | 251 Address RelocInfo::target_runtime_entry(Assembler* origin) { |
| 251 DCHECK(IsRuntimeEntry(rmode_)); | 252 DCHECK(IsRuntimeEntry(rmode_)); |
| 252 return target_address(); | 253 return target_address(); |
| 253 } | 254 } |
| 254 | 255 |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 } | 459 } |
| 459 *reinterpret_cast<Instr*>(pc_) = x; | 460 *reinterpret_cast<Instr*>(pc_) = x; |
| 460 pc_ += kInstrSize; | 461 pc_ += kInstrSize; |
| 461 CheckTrampolinePoolQuick(); | 462 CheckTrampolinePoolQuick(); |
| 462 } | 463 } |
| 463 | 464 |
| 464 | 465 |
| 465 } } // namespace v8::internal | 466 } } // namespace v8::internal |
| 466 | 467 |
| 467 #endif // V8_MIPS_ASSEMBLER_MIPS_INL_H_ | 468 #endif // V8_MIPS_ASSEMBLER_MIPS_INL_H_ |
| OLD | NEW |