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 411f86c1635a8954de8332675ae7321fde18007f..898439dba1ca7b493b60922b1b86f20998c38c3e 100644 |
--- a/src/compiler/arm/code-generator-arm.cc |
+++ b/src/compiler/arm/code-generator-arm.cc |
@@ -1570,6 +1570,7 @@ void CodeGenerator::AssembleMove(InstructionOperand* source, |
switch (src.type()) { |
case Constant::kInt32: |
if (src.rmode() == RelocInfo::WASM_MEMORY_REFERENCE || |
+ src.rmode() == RelocInfo::WASM_GLOBAL_REFERENCE || |
src.rmode() == RelocInfo::WASM_MEMORY_SIZE_REFERENCE) { |
__ mov(dst, Operand(src.ToInt32(), src.rmode())); |
} else { |