Index: src/wasm/wasm-module.cc |
diff --git a/src/wasm/wasm-module.cc b/src/wasm/wasm-module.cc |
index 3fcd2232c3846c66e4c7f626eb38f1a57d363067..ddc2eba7c852e471d12a240411f4fa205ed0aefc 100644 |
--- a/src/wasm/wasm-module.cc |
+++ b/src/wasm/wasm-module.cc |
@@ -372,7 +372,8 @@ bool LinkFunction(Handle<Code> unlinked, |
Handle<Code> new_target = code_targets[index]; |
if (target != *new_target) { |
it.rinfo()->set_target_address(new_target->instruction_start(), |
- SKIP_WRITE_BARRIER, SKIP_ICACHE_FLUSH); |
+ UPDATE_WRITE_BARRIER, |
+ SKIP_ICACHE_FLUSH); |
modified = true; |
} |
} |