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

Side by Side Diff: src/ic/arm64/handler-compiler-arm64.cc

Issue 1553523002: [telemetry] Counter Cleanups (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix merge conflicts Created 4 years, 10 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/arm64/ic-arm64.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_ARM64 5 #if V8_TARGET_ARCH_ARM64
6 6
7 #include "src/ic/call-optimization.h" 7 #include "src/ic/call-optimization.h"
8 #include "src/ic/handler-compiler.h" 8 #include "src/ic/handler-compiler.h"
9 #include "src/ic/ic.h" 9 #include "src/ic/ic.h"
10 #include "src/isolate-inl.h" 10 #include "src/isolate-inl.h"
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 Handle<WeakCell> weak_cell = factory()->NewWeakCell(cell); 351 Handle<WeakCell> weak_cell = factory()->NewWeakCell(cell);
352 __ LoadWeakValue(result, weak_cell, &miss); 352 __ LoadWeakValue(result, weak_cell, &miss);
353 __ Ldr(result, FieldMemOperand(result, PropertyCell::kValueOffset)); 353 __ Ldr(result, FieldMemOperand(result, PropertyCell::kValueOffset));
354 354
355 // Check for deleted property if property can actually be deleted. 355 // Check for deleted property if property can actually be deleted.
356 if (is_configurable) { 356 if (is_configurable) {
357 __ JumpIfRoot(result, Heap::kTheHoleValueRootIndex, &miss); 357 __ JumpIfRoot(result, Heap::kTheHoleValueRootIndex, &miss);
358 } 358 }
359 359
360 Counters* counters = isolate()->counters(); 360 Counters* counters = isolate()->counters();
361 __ IncrementCounter(counters->named_load_global_stub(), 1, x1, x3); 361 __ IncrementCounter(counters->ic_named_load_global_stub(), 1, x1, x3);
362 if (IC::ICUseVector(kind())) { 362 if (IC::ICUseVector(kind())) {
363 DiscardVectorAndSlot(); 363 DiscardVectorAndSlot();
364 } 364 }
365 __ Ret(); 365 __ Ret();
366 366
367 FrontendFooter(name, &miss); 367 FrontendFooter(name, &miss);
368 368
369 // Return the generated code. 369 // Return the generated code.
370 return GetCode(kind(), Code::NORMAL, name); 370 return GetCode(kind(), Code::NORMAL, name);
371 } 371 }
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 // Return the generated code. 785 // Return the generated code.
786 return GetCode(kind(), Code::FAST, name); 786 return GetCode(kind(), Code::FAST, name);
787 } 787 }
788 788
789 789
790 #undef __ 790 #undef __
791 } // namespace internal 791 } // namespace internal
792 } // namespace v8 792 } // namespace v8
793 793
794 #endif // V8_TARGET_ARCH_IA32 794 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ic/arm/ic-arm.cc ('k') | src/ic/arm64/ic-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698