| 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 5900955e78fd9d2eb8e7d00f0cf19695dc8fd069..6bb8ff9a5a97898d35867ef27a66f8f95b76a48f 100644
|
| --- a/src/compiler/arm/code-generator-arm.cc
|
| +++ b/src/compiler/arm/code-generator-arm.cc
|
| @@ -1502,7 +1502,8 @@ void CodeGenerator::AssembleMove(InstructionOperand* source,
|
| destination->IsRegister() ? g.ToRegister(destination) : kScratchReg;
|
| switch (src.type()) {
|
| case Constant::kInt32:
|
| - if (src.rmode() == RelocInfo::WASM_MEMORY_REFERENCE) {
|
| + if (src.rmode() == RelocInfo::WASM_MEMORY_REFERENCE ||
|
| + src.rmode() == RelocInfo::WASM_MEMORY_SIZE_REFERENCE) {
|
| __ mov(dst, Operand(src.ToInt32(), src.rmode()));
|
| } else {
|
| __ mov(dst, Operand(src.ToInt32()));
|
|
|