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

Side by Side Diff: src/ic/arm/handler-compiler-arm.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/ia32/code-stubs-ia32.cc ('k') | src/ic/arm/ic-arm.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_ARM 5 #if V8_TARGET_ARCH_ARM
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 754 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 __ ldr(result, FieldMemOperand(result, PropertyCell::kValueOffset)); 765 __ ldr(result, FieldMemOperand(result, PropertyCell::kValueOffset));
766 766
767 // Check for deleted property if property can actually be deleted. 767 // Check for deleted property if property can actually be deleted.
768 if (is_configurable) { 768 if (is_configurable) {
769 __ LoadRoot(ip, Heap::kTheHoleValueRootIndex); 769 __ LoadRoot(ip, Heap::kTheHoleValueRootIndex);
770 __ cmp(result, ip); 770 __ cmp(result, ip);
771 __ b(eq, &miss); 771 __ b(eq, &miss);
772 } 772 }
773 773
774 Counters* counters = isolate()->counters(); 774 Counters* counters = isolate()->counters();
775 __ IncrementCounter(counters->named_load_global_stub(), 1, r1, r3); 775 __ IncrementCounter(counters->ic_named_load_global_stub(), 1, r1, r3);
776 if (IC::ICUseVector(kind())) { 776 if (IC::ICUseVector(kind())) {
777 DiscardVectorAndSlot(); 777 DiscardVectorAndSlot();
778 } 778 }
779 __ Ret(); 779 __ Ret();
780 780
781 FrontendFooter(name, &miss); 781 FrontendFooter(name, &miss);
782 782
783 // Return the generated code. 783 // Return the generated code.
784 return GetCode(kind(), Code::NORMAL, name); 784 return GetCode(kind(), Code::NORMAL, name);
785 } 785 }
786 786
787 787
788 #undef __ 788 #undef __
789 } // namespace internal 789 } // namespace internal
790 } // namespace v8 790 } // namespace v8
791 791
792 #endif // V8_TARGET_ARCH_ARM 792 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/ic/arm/ic-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698