Index: src/compiler/x87/code-generator-x87.cc |
diff --git a/src/compiler/x87/code-generator-x87.cc b/src/compiler/x87/code-generator-x87.cc |
index f5e66345617a27e6af10212765b801789a5bd46e..60b0fa2b49a3ca204ecaddb524c0d54faaefec67 100644 |
--- a/src/compiler/x87/code-generator-x87.cc |
+++ b/src/compiler/x87/code-generator-x87.cc |
@@ -62,7 +62,7 @@ class X87OperandConverter : public InstructionOperandConverter { |
if (constant.type() == Constant::kInt32 && |
(constant.rmode() == RelocInfo::WASM_MEMORY_REFERENCE || |
constant.rmode() == RelocInfo::WASM_GLOBAL_REFERENCE || |
- constant.rmode() == RelocInfo::WASM_MEMORY_SIZE_REFERENCE)) { |
+ RelocInfo::IsWasmMemorySizeReference(constant.rmode()))) { |
return Immediate(reinterpret_cast<Address>(constant.ToInt32()), |
constant.rmode()); |
} |