Index: src/ppc/code-stubs-ppc.cc |
diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc |
index 42e9539d25a7111099a4cd269c338eeca8584c1e..4deaf2cb972aaf88c3e838794f1225e873f11f46 100644 |
--- a/src/ppc/code-stubs-ppc.cc |
+++ b/src/ppc/code-stubs-ppc.cc |
@@ -1574,8 +1574,7 @@ void FunctionPrototypeStub::Generate(MacroAssembler* masm) { |
Register receiver = LoadDescriptor::ReceiverRegister(); |
// Ensure that the vector and slot registers won't be clobbered before |
// calling the miss handler. |
- DCHECK(!FLAG_vector_ics || |
- !AreAliased(r7, r8, VectorLoadICDescriptor::VectorRegister(), |
+ DCHECK(!AreAliased(r7, r8, VectorLoadICDescriptor::VectorRegister(), |
VectorLoadICDescriptor::SlotRegister())); |
NamedLoadHandlerCompiler::GenerateLoadFunctionPrototype(masm, receiver, r7, |
@@ -1595,9 +1594,8 @@ void LoadIndexedStringStub::Generate(MacroAssembler* masm) { |
Register scratch = r8; |
Register result = r3; |
DCHECK(!scratch.is(receiver) && !scratch.is(index)); |
- DCHECK(!FLAG_vector_ics || |
- (!scratch.is(VectorLoadICDescriptor::VectorRegister()) && |
- result.is(VectorLoadICDescriptor::SlotRegister()))); |
+ DCHECK(!scratch.is(VectorLoadICDescriptor::VectorRegister()) && |
+ result.is(VectorLoadICDescriptor::SlotRegister())); |
// StringCharAtGenerator doesn't use the result register until it's passed |
// the different miss possibilities. If it did, we would have a conflict |
@@ -3125,7 +3123,7 @@ void StringCharCodeAtGenerator::GenerateSlow( |
__ CheckMap(index_, result_, Heap::kHeapNumberMapRootIndex, index_not_number_, |
DONT_DO_SMI_CHECK); |
call_helper.BeforeCall(masm); |
- if (FLAG_vector_ics && embed_mode == PART_OF_IC_HANDLER) { |
+ if (embed_mode == PART_OF_IC_HANDLER) { |
__ Push(VectorLoadICDescriptor::VectorRegister(), |
VectorLoadICDescriptor::SlotRegister(), object_, index_); |
} else { |
@@ -3142,7 +3140,7 @@ void StringCharCodeAtGenerator::GenerateSlow( |
// Save the conversion result before the pop instructions below |
// have a chance to overwrite it. |
__ Move(index_, r3); |
- if (FLAG_vector_ics && embed_mode == PART_OF_IC_HANDLER) { |
+ if (embed_mode == PART_OF_IC_HANDLER) { |
__ Pop(VectorLoadICDescriptor::VectorRegister(), |
VectorLoadICDescriptor::SlotRegister(), object_); |
} else { |