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

Unified Diff: src/full-codegen/ppc/full-codegen-ppc.cc

Issue 1474323002: Delete Assembler::FlushICacheWithoutIsolate (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/full-codegen/mips64/full-codegen-mips64.cc ('k') | src/full-codegen/x64/full-codegen-x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/full-codegen/ppc/full-codegen-ppc.cc
diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc
index b607a376ffcbedb71d0925c65bf20b57ef822f4e..19c7be86ca80c8fc62e0c247ef9f3b60c8255835 100644
--- a/src/full-codegen/ppc/full-codegen-ppc.cc
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc
@@ -4901,7 +4901,8 @@ void BackEdgeTable::PatchAt(Code* unoptimized_code, Address pc,
Code* replacement_code) {
Address mov_address = Assembler::target_address_from_return_address(pc);
Address cmp_address = mov_address - 2 * Assembler::kInstrSize;
- CodePatcher patcher(unoptimized_code->GetIsolate(), cmp_address, 1);
+ Isolate* isolate = unoptimized_code->GetIsolate();
+ CodePatcher patcher(isolate, cmp_address, 1);
switch (target_state) {
case INTERRUPT: {
@@ -4934,7 +4935,7 @@ void BackEdgeTable::PatchAt(Code* unoptimized_code, Address pc,
// Replace the stack check address in the mov sequence with the
// entry address of the replacement code.
- Assembler::set_target_address_at(mov_address, unoptimized_code,
+ Assembler::set_target_address_at(isolate, mov_address, unoptimized_code,
replacement_code->entry());
unoptimized_code->GetHeap()->incremental_marking()->RecordCodeTargetPatch(
« no previous file with comments | « src/full-codegen/mips64/full-codegen-mips64.cc ('k') | src/full-codegen/x64/full-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698