Index: src/ppc/assembler-ppc.cc |
diff --git a/src/ppc/assembler-ppc.cc b/src/ppc/assembler-ppc.cc |
index 4b8b165657a145921a35690dec3ec15f03d62853..d91052873fd5b06e01bb6f59ef91105adf453605 100644 |
--- a/src/ppc/assembler-ppc.cc |
+++ b/src/ppc/assembler-ppc.cc |
@@ -82,9 +82,6 @@ void CpuFeatures::ProbeImpl(bool cross_compile) { |
// Assume support |
supported_ |= (1u << FPU); |
} |
- if (cpu.cache_line_size() != 0) { |
- cache_line_size_ = cpu.cache_line_size(); |
- } |
#elif V8_OS_AIX |
// Assume support FP support and default cache line size |
supported_ |= (1u << FPU); |
@@ -1422,11 +1419,13 @@ void Assembler::marker_asm(int mcode) { |
// Code address skips the function descriptor "header". |
// TOC and static chain are ignored and set to 0. |
void Assembler::function_descriptor() { |
+#if ABI_USES_FUNCTION_DESCRIPTORS |
DCHECK(pc_offset() == 0); |
RecordRelocInfo(RelocInfo::INTERNAL_REFERENCE); |
emit_ptr(reinterpret_cast<uintptr_t>(pc_) + 3 * kPointerSize); |
emit_ptr(0); |
emit_ptr(0); |
+#endif |
} |