Index: src/arm/assembler-arm.h |
diff --git a/src/arm/assembler-arm.h b/src/arm/assembler-arm.h |
index 1aaa2238a46e9cb7cdd5a28b875c1621cbbdc42e..f803cecd1544918f4606c22bc308f5b37fe04928 100644 |
--- a/src/arm/assembler-arm.h |
+++ b/src/arm/assembler-arm.h |
@@ -763,16 +763,20 @@ class Assembler : public AssemblerBase { |
ConstantPoolArray* constant_pool)); |
INLINE(static void set_target_address_at(Address pc, |
ConstantPoolArray* constant_pool, |
- Address target)); |
+ Address target, |
+ ICacheFlushMode icache_flush_mode = |
+ FLUSH_ICACHE_IF_NEEDED)); |
INLINE(static Address target_address_at(Address pc, Code* code)) { |
ConstantPoolArray* constant_pool = code ? code->constant_pool() : NULL; |
return target_address_at(pc, constant_pool); |
} |
INLINE(static void set_target_address_at(Address pc, |
Code* code, |
- Address target)) { |
+ Address target, |
+ ICacheFlushMode icache_flush_mode = |
+ FLUSH_ICACHE_IF_NEEDED)) { |
ConstantPoolArray* constant_pool = code ? code->constant_pool() : NULL; |
- set_target_address_at(pc, constant_pool, target); |
+ set_target_address_at(pc, constant_pool, target, icache_flush_mode); |
} |
// Return the code target address at a call site from the return address |