Index: src/compiler/mips/code-generator-mips.cc |
diff --git a/src/compiler/mips/code-generator-mips.cc b/src/compiler/mips/code-generator-mips.cc |
index 12ab4af771b83ca0c5d3d4387532fe843af1e99c..e9a3a994d3e997f49ba245012f6d87f6f57931c1 100644 |
--- a/src/compiler/mips/code-generator-mips.cc |
+++ b/src/compiler/mips/code-generator-mips.cc |
@@ -2027,7 +2027,7 @@ void CodeGenerator::AssembleMove(InstructionOperand* source, |
case Constant::kInt32: |
if (src.rmode() == RelocInfo::WASM_MEMORY_REFERENCE || |
src.rmode() == RelocInfo::WASM_GLOBAL_REFERENCE || |
- src.rmode() == RelocInfo::WASM_MEMORY_SIZE_REFERENCE) { |
+ RelocInfo::IsWasmMemorySizeReference(src.rmode())) { |
__ li(dst, Operand(src.ToInt32(), src.rmode())); |
} else { |
__ li(dst, Operand(src.ToInt32())); |