Index: src/ia32/assembler-ia32-inl.h |
diff --git a/src/ia32/assembler-ia32-inl.h b/src/ia32/assembler-ia32-inl.h |
index 7c5db72c8c79e7232023848d656237ca468445e4..a75932894e6cd3a3b7c11dc5bb113d60aa5f90b9 100644 |
--- a/src/ia32/assembler-ia32-inl.h |
+++ b/src/ia32/assembler-ia32-inl.h |
@@ -133,7 +133,7 @@ void RelocInfo::set_target_object(Object* target, |
DCHECK(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); |
Memory::Object_at(pc_) = target; |
if (icache_flush_mode != SKIP_ICACHE_FLUSH) { |
- Assembler::FlushICacheWithoutIsolate(pc_, sizeof(Address)); |
+ Assembler::FlushICache(isolate_, pc_, sizeof(Address)); |
} |
if (write_barrier_mode == UPDATE_WRITE_BARRIER && |
host() != NULL && |
@@ -199,7 +199,7 @@ void RelocInfo::set_target_cell(Cell* cell, |
Address address = cell->address() + Cell::kValueOffset; |
Memory::Address_at(pc_) = address; |
if (icache_flush_mode != SKIP_ICACHE_FLUSH) { |
- Assembler::FlushICacheWithoutIsolate(pc_, sizeof(Address)); |
+ Assembler::FlushICache(isolate_, pc_, sizeof(Address)); |
} |
if (write_barrier_mode == UPDATE_WRITE_BARRIER && host() != NULL) { |
// TODO(1550) We are passing NULL as a slot because cell can never be on |
@@ -280,7 +280,7 @@ void RelocInfo::Visit(Isolate* isolate, ObjectVisitor* visitor) { |
RelocInfo::Mode mode = rmode(); |
if (mode == RelocInfo::EMBEDDED_OBJECT) { |
visitor->VisitEmbeddedPointer(this); |
- Assembler::FlushICacheWithoutIsolate(pc_, sizeof(Address)); |
+ Assembler::FlushICache(isolate, pc_, sizeof(Address)); |
} else if (RelocInfo::IsCodeTarget(mode)) { |
visitor->VisitCodeTarget(this); |
} else if (mode == RelocInfo::CELL) { |