| 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 e17ed67dcfcb6552bac98395796d4d0f5ba56e74..18a4c0713ae8d0e02ff69527fdd02c123919af9b 100644
|
| --- a/src/compiler/arm/code-generator-arm.cc
|
| +++ b/src/compiler/arm/code-generator-arm.cc
|
| @@ -1990,9 +1990,7 @@ void CodeGenerator::AssembleMove(InstructionOperand* source,
|
| destination->IsRegister() ? g.ToRegister(destination) : kScratchReg;
|
| 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) {
|
| + if (RelocInfo::IsWasmReference(src.rmode())) {
|
| __ mov(dst, Operand(src.ToInt32(), src.rmode()));
|
| } else {
|
| __ mov(dst, Operand(src.ToInt32()));
|
|
|