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 19e45f29f03b1abf4472ef9fbb7a7291ffc14a58..a0b502237b047fa9b14abc682ef87514d752e366 100644 |
--- a/src/compiler/arm/code-generator-arm.cc |
+++ b/src/compiler/arm/code-generator-arm.cc |
@@ -1408,11 +1408,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(); |