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

Side by Side Diff: src/mips64/assembler-mips64-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 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 return Assembler::target_address_at(pc_, host_); 228 return Assembler::target_address_at(pc_, host_);
229 } 229 }
230 230
231 231
232 Address RelocInfo::target_internal_reference() { 232 Address RelocInfo::target_internal_reference() {
233 DCHECK(rmode_ == INTERNAL_REFERENCE); 233 DCHECK(rmode_ == INTERNAL_REFERENCE);
234 return Memory::Address_at(pc_); 234 return Memory::Address_at(pc_);
235 } 235 }
236 236
237 237
238 void RelocInfo::set_target_internal_reference(Address target) { 238 void RelocInfo::set_target_internal_reference(
239 Address target, ICacheFlushMode icache_flush_mode) {
239 DCHECK(rmode_ == INTERNAL_REFERENCE); 240 DCHECK(rmode_ == INTERNAL_REFERENCE);
240 Memory::Address_at(pc_) = target; 241 Memory::Address_at(pc_) = target;
241 } 242 }
242 243
243 244
244 Address RelocInfo::target_runtime_entry(Assembler* origin) { 245 Address RelocInfo::target_runtime_entry(Assembler* origin) {
245 DCHECK(IsRuntimeEntry(rmode_)); 246 DCHECK(IsRuntimeEntry(rmode_));
246 return target_address(); 247 return target_address();
247 } 248 }
248 249
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 } 466 }
466 *reinterpret_cast<uint64_t*>(pc_) = x; 467 *reinterpret_cast<uint64_t*>(pc_) = x;
467 pc_ += kInstrSize * 2; 468 pc_ += kInstrSize * 2;
468 CheckTrampolinePoolQuick(); 469 CheckTrampolinePoolQuick();
469 } 470 }
470 471
471 472
472 } } // namespace v8::internal 473 } } // namespace v8::internal
473 474
474 #endif // V8_MIPS_ASSEMBLER_MIPS_INL_H_ 475 #endif // V8_MIPS_ASSEMBLER_MIPS_INL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698