Index: src/x64/assembler-x64-inl.h |
diff --git a/src/x64/assembler-x64-inl.h b/src/x64/assembler-x64-inl.h |
index 60acacd3bbb6417f8bc2b3d1a39edd839a285c19..1342a2f84c6ce9c1bd495248f39e50a867a4a041 100644 |
--- a/src/x64/assembler-x64-inl.h |
+++ b/src/x64/assembler-x64-inl.h |
@@ -352,7 +352,7 @@ int RelocInfo::target_address_size() { |
void RelocInfo::set_target_address(Address target, |
WriteBarrierMode write_barrier_mode, |
ICacheFlushMode icache_flush_mode) { |
- DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_)); |
+ DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_) || IsWasmCall(rmode_)); |
Assembler::set_target_address_at(isolate_, pc_, host_, target, |
icache_flush_mode); |
if (write_barrier_mode == UPDATE_WRITE_BARRIER && host() != NULL && |