| Index: src/ppc/codegen-ppc.cc
|
| diff --git a/src/ppc/codegen-ppc.cc b/src/ppc/codegen-ppc.cc
|
| index 2bf8b4ee83fe7328b4ed2e2ca1420eea6f30ac7e..d6d86b0fccb70a45c84e8c6917e7a8db761d4662 100644
|
| --- a/src/ppc/codegen-ppc.cc
|
| +++ b/src/ppc/codegen-ppc.cc
|
| @@ -58,9 +58,7 @@ UnaryMathFunctionWithIsolate CreateExpFunction(Isolate* isolate) {
|
|
|
| CodeDesc desc;
|
| masm.GetCode(&desc);
|
| -#if !ABI_USES_FUNCTION_DESCRIPTORS
|
| - DCHECK(!RelocInfo::RequiresRelocation(desc));
|
| -#endif
|
| + DCHECK(ABI_USES_FUNCTION_DESCRIPTORS || !RelocInfo::RequiresRelocation(desc));
|
|
|
| Assembler::FlushICache(isolate, buffer, actual_size);
|
| base::OS::ProtectCode(buffer, actual_size);
|
| @@ -96,9 +94,7 @@ UnaryMathFunctionWithIsolate CreateSqrtFunction(Isolate* isolate) {
|
|
|
| CodeDesc desc;
|
| masm.GetCode(&desc);
|
| -#if !ABI_USES_FUNCTION_DESCRIPTORS
|
| - DCHECK(!RelocInfo::RequiresRelocation(desc));
|
| -#endif
|
| + DCHECK(ABI_USES_FUNCTION_DESCRIPTORS || !RelocInfo::RequiresRelocation(desc));
|
|
|
| Assembler::FlushICache(isolate, buffer, actual_size);
|
| base::OS::ProtectCode(buffer, actual_size);
|
|
|