| Index: src/compiler/ppc/code-generator-ppc.cc
|
| diff --git a/src/compiler/ppc/code-generator-ppc.cc b/src/compiler/ppc/code-generator-ppc.cc
|
| index f8f3099209c4b310ce8d06373642cb9db0246a4c..fdd594274e3d7fdc1d8b44216339f7009f61607e 100644
|
| --- a/src/compiler/ppc/code-generator-ppc.cc
|
| +++ b/src/compiler/ppc/code-generator-ppc.cc
|
| @@ -2237,11 +2237,11 @@ void CodeGenerator::AssembleMove(InstructionOperand* source,
|
| switch (src.type()) {
|
| case Constant::kInt32:
|
| #if V8_TARGET_ARCH_PPC64
|
| - if (src.rmode() == RelocInfo::WASM_MEMORY_SIZE_REFERENCE) {
|
| + if (RelocInfo::IsWasmMemorySizeReference(src.rmode())) {
|
| #else
|
| if (src.rmode() == RelocInfo::WASM_MEMORY_REFERENCE ||
|
| src.rmode() == RelocInfo::WASM_GLOBAL_REFERENCE ||
|
| - src.rmode() == RelocInfo::WASM_MEMORY_SIZE_REFERENCE) {
|
| + RelocInfo::IsWasmMemorySizeReference(src.rmode())) {
|
| #endif
|
| __ mov(dst, Operand(src.ToInt32(), src.rmode()));
|
| } else {
|
| @@ -2254,7 +2254,7 @@ void CodeGenerator::AssembleMove(InstructionOperand* source,
|
| src.rmode() == RelocInfo::WASM_GLOBAL_REFERENCE) {
|
| __ mov(dst, Operand(src.ToInt64(), src.rmode()));
|
| } else {
|
| - DCHECK(src.rmode() != RelocInfo::WASM_MEMORY_SIZE_REFERENCE);
|
| + DCHECK(!RelocInfo::IsWasmMemorySizeReference(src.rmode()));
|
| #endif
|
| __ mov(dst, Operand(src.ToInt64()));
|
| #if V8_TARGET_ARCH_PPC64
|
|
|