Index: src/ia32/assembler-ia32-inl.h |
diff --git a/src/ia32/assembler-ia32-inl.h b/src/ia32/assembler-ia32-inl.h |
index 2120a90e0ceda66820b8a9c54a82571ffac3f39a..66fe8601ccfb956d8ba7615bfa7f57f2d39049b1 100644 |
--- a/src/ia32/assembler-ia32-inl.h |
+++ b/src/ia32/assembler-ia32-inl.h |
@@ -105,7 +105,7 @@ void RelocInfo::set_target_address(Address target, |
ICacheFlushMode icache_flush_mode) { |
Assembler::set_target_address_at(isolate_, pc_, host_, target, |
icache_flush_mode); |
- DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_)); |
+ DCHECK(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_) || IsWasmCall(rmode_)); |
if (write_barrier_mode == UPDATE_WRITE_BARRIER && host() != NULL && |
IsCodeTarget(rmode_)) { |
Object* target_code = Code::GetCodeFromTargetAddress(target); |