Index: src/ic-inl.h |
diff --git a/src/ic-inl.h b/src/ic-inl.h |
index 010df08c664aae08657e13e8838e3826270e6e82..30484d623333021003960f95406de357d9959a59 100644 |
--- a/src/ic-inl.h |
+++ b/src/ic-inl.h |
@@ -94,7 +94,8 @@ Code* IC::GetTargetAtAddress(Address address, |
void IC::SetTargetAtAddress(Address address, |
Code* target, |
- ConstantPoolArray* constant_pool) { |
+ ConstantPoolArray* constant_pool, |
+ ICacheFlushMode icache_flush_mode) { |
ASSERT(target->is_inline_cache_stub() || target->is_compare_ic_stub()); |
Heap* heap = target->GetHeap(); |
Code* old_target = GetTargetAtAddress(address, constant_pool); |
@@ -108,7 +109,7 @@ void IC::SetTargetAtAddress(Address address, |
} |
#endif |
Assembler::set_target_address_at( |
- address, constant_pool, target->instruction_start()); |
+ address, constant_pool, target->instruction_start(), icache_flush_mode); |
if (heap->gc_state() == Heap::MARK_COMPACT) { |
heap->mark_compact_collector()->RecordCodeTargetPatch(address, target); |
} else { |