Index: src/compiler/arm/code-generator-arm.cc |
diff --git a/src/compiler/arm/code-generator-arm.cc b/src/compiler/arm/code-generator-arm.cc |
index 2022068fd94c4411def67ebfb3ea55a0d341af1b..89321949ebbc5e47194cd1f3d00f59a3b463813a 100644 |
--- a/src/compiler/arm/code-generator-arm.cc |
+++ b/src/compiler/arm/code-generator-arm.cc |
@@ -1448,11 +1448,7 @@ |
destination->IsRegister() ? g.ToRegister(destination) : kScratchReg; |
switch (src.type()) { |
case Constant::kInt32: |
- if (src.rmode() == RelocInfo::WASM_MEMORY_REFERENCE) { |
- __ mov(dst, Operand(src.ToInt32(), src.rmode())); |
- } else { |
- __ mov(dst, Operand(src.ToInt32())); |
- } |
+ __ mov(dst, Operand(src.ToInt32())); |
break; |
case Constant::kInt64: |
UNREACHABLE(); |