| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |