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

Side by Side Diff: src/ppc/assembler-ppc.cc

Issue 1474323002: Delete Assembler::FlushICacheWithoutIsolate (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 5 years 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
« no previous file with comments | « src/ppc/assembler-ppc.h ('k') | src/ppc/assembler-ppc-inl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2394 matching lines...) Expand 10 before | Expand all | Expand 10 after
2405 RelocInfo rinfo(isolate(), pc, rmode, it->data(), code); 2405 RelocInfo rinfo(isolate(), pc, rmode, it->data(), code);
2406 2406
2407 // Fix up internal references now that they are guaranteed to be bound. 2407 // Fix up internal references now that they are guaranteed to be bound.
2408 if (RelocInfo::IsInternalReference(rmode)) { 2408 if (RelocInfo::IsInternalReference(rmode)) {
2409 // Jump table entry 2409 // Jump table entry
2410 intptr_t pos = reinterpret_cast<intptr_t>(Memory::Address_at(pc)); 2410 intptr_t pos = reinterpret_cast<intptr_t>(Memory::Address_at(pc));
2411 Memory::Address_at(pc) = buffer_ + pos; 2411 Memory::Address_at(pc) = buffer_ + pos;
2412 } else if (RelocInfo::IsInternalReferenceEncoded(rmode)) { 2412 } else if (RelocInfo::IsInternalReferenceEncoded(rmode)) {
2413 // mov sequence 2413 // mov sequence
2414 intptr_t pos = reinterpret_cast<intptr_t>(target_address_at(pc, code)); 2414 intptr_t pos = reinterpret_cast<intptr_t>(target_address_at(pc, code));
2415 set_target_address_at(pc, code, buffer_ + pos, SKIP_ICACHE_FLUSH); 2415 set_target_address_at(isolate(), pc, code, buffer_ + pos,
2416 SKIP_ICACHE_FLUSH);
2416 } 2417 }
2417 2418
2418 reloc_info_writer.Write(&rinfo); 2419 reloc_info_writer.Write(&rinfo);
2419 } 2420 }
2420 2421
2421 reloc_info_writer.Finish(); 2422 reloc_info_writer.Finish();
2422 } 2423 }
2423 2424
2424 2425
2425 void Assembler::BlockTrampolinePoolFor(int instructions) { 2426 void Assembler::BlockTrampolinePoolFor(int instructions) {
(...skipping 30 matching lines...) Expand all
2456 2457
2457 trampoline_ = Trampoline(pc_offset() - size, tracked_branch_count_); 2458 trampoline_ = Trampoline(pc_offset() - size, tracked_branch_count_);
2458 } 2459 }
2459 } 2460 }
2460 2461
2461 2462
2462 } // namespace internal 2463 } // namespace internal
2463 } // namespace v8 2464 } // namespace v8
2464 2465
2465 #endif // V8_TARGET_ARCH_PPC 2466 #endif // V8_TARGET_ARCH_PPC
OLDNEW
« no previous file with comments | « src/ppc/assembler-ppc.h ('k') | src/ppc/assembler-ppc-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698