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

Side by Side Diff: src/ic/x87/handler-compiler-x87.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/x64/ic-x64.cc ('k') | src/ic/x87/ic-x87.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_X87 5 #if V8_TARGET_ARCH_X87
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 777 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 // Check for deleted property if property can actually be deleted. 788 // Check for deleted property if property can actually be deleted.
789 if (is_configurable) { 789 if (is_configurable) {
790 __ cmp(result, factory()->the_hole_value()); 790 __ cmp(result, factory()->the_hole_value());
791 __ j(equal, &miss); 791 __ j(equal, &miss);
792 } else if (FLAG_debug_code) { 792 } else if (FLAG_debug_code) {
793 __ cmp(result, factory()->the_hole_value()); 793 __ cmp(result, factory()->the_hole_value());
794 __ Check(not_equal, kDontDeleteCellsCannotContainTheHole); 794 __ Check(not_equal, kDontDeleteCellsCannotContainTheHole);
795 } 795 }
796 796
797 Counters* counters = isolate()->counters(); 797 Counters* counters = isolate()->counters();
798 __ IncrementCounter(counters->named_load_global_stub(), 1); 798 __ IncrementCounter(counters->ic_named_load_global_stub(), 1);
799 // The code above already loads the result into the return register. 799 // The code above already loads the result into the return register.
800 if (IC::ICUseVector(kind())) { 800 if (IC::ICUseVector(kind())) {
801 DiscardVectorAndSlot(); 801 DiscardVectorAndSlot();
802 } 802 }
803 __ ret(0); 803 __ ret(0);
804 804
805 FrontendFooter(name, &miss); 805 FrontendFooter(name, &miss);
806 806
807 // Return the generated code. 807 // Return the generated code.
808 return GetCode(kind(), Code::NORMAL, name); 808 return GetCode(kind(), Code::NORMAL, name);
809 } 809 }
810 810
811 811
812 #undef __ 812 #undef __
813 } // namespace internal 813 } // namespace internal
814 } // namespace v8 814 } // namespace v8
815 815
816 #endif // V8_TARGET_ARCH_X87 816 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/ic/x64/ic-x64.cc ('k') | src/ic/x87/ic-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698