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

Side by Side Diff: src/ic/arm64/ic-arm64.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/arm/ic-arm.cc ('k') | src/ic/ia32/ic-ia32.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_ARM64 5 #if V8_TARGET_ARCH_ARM64
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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 GenerateDictionaryLoad(masm, &slow, dictionary, 273 GenerateDictionaryLoad(masm, &slow, dictionary,
274 LoadDescriptor::NameRegister(), x0, x3, x4); 274 LoadDescriptor::NameRegister(), x0, x3, x4);
275 __ Ret(); 275 __ Ret();
276 276
277 // Dictionary load failed, go slow (but don't miss). 277 // Dictionary load failed, go slow (but don't miss).
278 __ Bind(&slow); 278 __ Bind(&slow);
279 GenerateRuntimeGetProperty(masm, language_mode); 279 GenerateRuntimeGetProperty(masm, language_mode);
280 } 280 }
281 281
282 282
283 void LoadIC::GenerateMiss(MacroAssembler* masm, int stress) { 283 void LoadIC::GenerateMiss(MacroAssembler* masm) {
284 // The return address is in lr. 284 // The return address is in lr.
285 Isolate* isolate = masm->isolate(); 285 Isolate* isolate = masm->isolate();
286 ASM_LOCATION("LoadIC::GenerateMiss"); 286 ASM_LOCATION("LoadIC::GenerateMiss");
287 287
288 DCHECK(!AreAliased(x4, x5, LoadWithVectorDescriptor::SlotRegister(), 288 DCHECK(!AreAliased(x4, x5, LoadWithVectorDescriptor::SlotRegister(),
289 LoadWithVectorDescriptor::VectorRegister())); 289 LoadWithVectorDescriptor::VectorRegister()));
290 __ IncrementCounter(isolate->counters()->load_miss(), 1, x4, x5); 290 __ IncrementCounter(isolate->counters()->load_miss(), 1, x4, x5);
291 291
292 // Perform tail call to the entry. 292 // Perform tail call to the entry.
293 __ Push(LoadWithVectorDescriptor::ReceiverRegister(), 293 __ Push(LoadWithVectorDescriptor::ReceiverRegister(),
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after
890 } else { 890 } else {
891 DCHECK(to_patch->Mask(TestBranchMask) == TBNZ); 891 DCHECK(to_patch->Mask(TestBranchMask) == TBNZ);
892 // This is JumpIfSmi(smi_reg, branch_imm). 892 // This is JumpIfSmi(smi_reg, branch_imm).
893 patcher.tbz(smi_reg, 0, branch_imm); 893 patcher.tbz(smi_reg, 0, branch_imm);
894 } 894 }
895 } 895 }
896 } // namespace internal 896 } // namespace internal
897 } // namespace v8 897 } // namespace v8
898 898
899 #endif // V8_TARGET_ARCH_ARM64 899 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/ic/arm/ic-arm.cc ('k') | src/ic/ia32/ic-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698