Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(304)

Side by Side Diff: src/ic/ppc/ic-ppc.cc

Issue 1358393004: Remove crash-hunting instrumentation that has served its purpose. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: remove unused variable Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/ic/mips64/ic-mips64.cc ('k') | src/ic/x64/ic-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #if V8_TARGET_ARCH_PPC 5 #if V8_TARGET_ARCH_PPC
6 6
7 #include "src/codegen.h" 7 #include "src/codegen.h"
8 #include "src/ic/ic.h" 8 #include "src/ic/ic.h"
9 #include "src/ic/ic-compiler.h" 9 #include "src/ic/ic-compiler.h"
10 #include "src/ic/stub-cache.h" 10 #include "src/ic/stub-cache.h"
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 static void LoadIC_PushArgs(MacroAssembler* masm) { 303 static void LoadIC_PushArgs(MacroAssembler* masm) {
304 Register receiver = LoadDescriptor::ReceiverRegister(); 304 Register receiver = LoadDescriptor::ReceiverRegister();
305 Register name = LoadDescriptor::NameRegister(); 305 Register name = LoadDescriptor::NameRegister();
306 Register slot = LoadDescriptor::SlotRegister(); 306 Register slot = LoadDescriptor::SlotRegister();
307 Register vector = LoadWithVectorDescriptor::VectorRegister(); 307 Register vector = LoadWithVectorDescriptor::VectorRegister();
308 308
309 __ Push(receiver, name, slot, vector); 309 __ Push(receiver, name, slot, vector);
310 } 310 }
311 311
312 312
313 void LoadIC::GenerateMiss(MacroAssembler* masm, int stress) { 313 void LoadIC::GenerateMiss(MacroAssembler* masm) {
314 // The return address is in lr. 314 // The return address is in lr.
315 Isolate* isolate = masm->isolate(); 315 Isolate* isolate = masm->isolate();
316 316
317 DCHECK(!AreAliased(r7, r8, LoadWithVectorDescriptor::SlotRegister(), 317 DCHECK(!AreAliased(r7, r8, LoadWithVectorDescriptor::SlotRegister(),
318 LoadWithVectorDescriptor::VectorRegister())); 318 LoadWithVectorDescriptor::VectorRegister()));
319 __ IncrementCounter(isolate->counters()->load_miss(), 1, r7, r8); 319 __ IncrementCounter(isolate->counters()->load_miss(), 1, r7, r8);
320 320
321 LoadIC_PushArgs(masm); 321 LoadIC_PushArgs(masm);
322 322
323 // Perform tail call to the entry. 323 // Perform tail call to the entry.
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
921 patcher.EmitCondition(ne); 921 patcher.EmitCondition(ne);
922 } else { 922 } else {
923 DCHECK(Assembler::GetCondition(branch_instr) == ne); 923 DCHECK(Assembler::GetCondition(branch_instr) == ne);
924 patcher.EmitCondition(eq); 924 patcher.EmitCondition(eq);
925 } 925 }
926 } 926 }
927 } // namespace internal 927 } // namespace internal
928 } // namespace v8 928 } // namespace v8
929 929
930 #endif // V8_TARGET_ARCH_PPC 930 #endif // V8_TARGET_ARCH_PPC
OLDNEW
« no previous file with comments | « src/ic/mips64/ic-mips64.cc ('k') | src/ic/x64/ic-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698