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

Side by Side Diff: src/ic/x87/ic-x87.cc

Issue 2054133002: [--runtime-call-stats] Fix ACCESSOR handler computation (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebased Created 4 years, 6 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') | no next file » | 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/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 690 matching lines...) Expand 10 before | Expand all | Expand 10 after
701 701
702 __ pop(ebx); 702 __ pop(ebx);
703 __ push(receiver); 703 __ push(receiver);
704 __ push(name); 704 __ push(name);
705 __ push(ebx); 705 __ push(ebx);
706 706
707 // Do tail-call to runtime routine. 707 // Do tail-call to runtime routine.
708 __ TailCallRuntime(Runtime::kKeyedGetProperty); 708 __ TailCallRuntime(Runtime::kKeyedGetProperty);
709 } 709 }
710 710
711
712 void StoreIC::GenerateMegamorphic(MacroAssembler* masm) {
713 // This shouldn't be called.
714 // TODO(mvstanton): remove this method.
715 __ int3();
716 return;
717 }
718
719
720 static void StoreIC_PushArgs(MacroAssembler* masm) { 711 static void StoreIC_PushArgs(MacroAssembler* masm) {
721 Register receiver = StoreDescriptor::ReceiverRegister(); 712 Register receiver = StoreDescriptor::ReceiverRegister();
722 Register name = StoreDescriptor::NameRegister(); 713 Register name = StoreDescriptor::NameRegister();
723 Register value = StoreDescriptor::ValueRegister(); 714 Register value = StoreDescriptor::ValueRegister();
724 Register slot = VectorStoreICDescriptor::SlotRegister(); 715 Register slot = VectorStoreICDescriptor::SlotRegister();
725 Register vector = VectorStoreICDescriptor::VectorRegister(); 716 Register vector = VectorStoreICDescriptor::VectorRegister();
726 717
727 __ xchg(receiver, Operand(esp, 0)); 718 __ xchg(receiver, Operand(esp, 0));
728 __ push(name); 719 __ push(name);
729 __ push(value); 720 __ push(value);
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 Condition cc = 844 Condition cc =
854 (check == ENABLE_INLINED_SMI_CHECK) 845 (check == ENABLE_INLINED_SMI_CHECK)
855 ? (*jmp_address == Assembler::kJncShortOpcode ? not_zero : zero) 846 ? (*jmp_address == Assembler::kJncShortOpcode ? not_zero : zero)
856 : (*jmp_address == Assembler::kJnzShortOpcode ? not_carry : carry); 847 : (*jmp_address == Assembler::kJnzShortOpcode ? not_carry : carry);
857 *jmp_address = static_cast<byte>(Assembler::kJccShortPrefix | cc); 848 *jmp_address = static_cast<byte>(Assembler::kJccShortPrefix | cc);
858 } 849 }
859 } // namespace internal 850 } // namespace internal
860 } // namespace v8 851 } // namespace v8
861 852
862 #endif // V8_TARGET_ARCH_X87 853 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/ic/x64/ic-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698