Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(217)

Side by Side Diff: src/arm/assembler-arm-inl.h

Issue 986553005: Contribution of PowerPC port (continuation of 422063005) - serialize.cc cleanup (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/arm/assembler-arm.cc ('k') | src/arm64/assembler-arm64.cc » ('j') | src/assembler.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698