Index: src/ppc/macro-assembler-ppc.cc |
diff --git a/src/ppc/macro-assembler-ppc.cc b/src/ppc/macro-assembler-ppc.cc |
index a2043a0559623af9572e48d90a76d2dadfe568e1..587a940553fa097ceaedcad612b7441a785b7cb5 100644 |
--- a/src/ppc/macro-assembler-ppc.cc |
+++ b/src/ppc/macro-assembler-ppc.cc |
@@ -3119,41 +3119,6 @@ void MacroAssembler::CallCFunctionHelper(Register function, |
} |
-void MacroAssembler::FlushICache(Register address, size_t size, |
- Register scratch) { |
- if (CpuFeatures::IsSupported(INSTR_AND_DATA_CACHE_COHERENCY)) { |
- sync(); |
- icbi(r0, address); |
- isync(); |
- return; |
- } |
- |
- Label done; |
- |
- dcbf(r0, address); |
- sync(); |
- icbi(r0, address); |
- isync(); |
- |
- // This code handles ranges which cross a single cacheline boundary. |
- // scratch is last cacheline which intersects range. |
- const int kCacheLineSizeLog2 = WhichPowerOf2(CpuFeatures::cache_line_size()); |
- |
- DCHECK(size > 0 && size <= (size_t)(1 << kCacheLineSizeLog2)); |
- addi(scratch, address, Operand(size - 1)); |
- ClearRightImm(scratch, scratch, Operand(kCacheLineSizeLog2)); |
- cmpl(scratch, address); |
- ble(&done); |
- |
- dcbf(r0, scratch); |
- sync(); |
- icbi(r0, scratch); |
- isync(); |
- |
- bind(&done); |
-} |
- |
- |
void MacroAssembler::DecodeConstantPoolOffset(Register result, |
Register location) { |
Label overflow_access, done; |