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

Side by Side Diff: src/ic.h

Issue 385073007: Revert "Use the same registers for StoreIC and KeyedStoreIC." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « src/ia32/stub-cache-ia32.cc ('k') | src/x64/code-stubs-x64.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 #ifndef V8_IC_H_ 5 #ifndef V8_IC_H_
6 #define V8_IC_H_ 6 #define V8_IC_H_
7 7
8 #include "src/macro-assembler.h" 8 #include "src/macro-assembler.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 698
699 static KeyedAccessStoreMode GetKeyedAccessStoreMode( 699 static KeyedAccessStoreMode GetKeyedAccessStoreMode(
700 ExtraICState extra_state) { 700 ExtraICState extra_state) {
701 return ExtraICStateKeyedAccessStoreMode::decode(extra_state); 701 return ExtraICStateKeyedAccessStoreMode::decode(extra_state);
702 } 702 }
703 703
704 static const Register ReceiverRegister(); 704 static const Register ReceiverRegister();
705 static const Register NameRegister(); 705 static const Register NameRegister();
706 static const Register ValueRegister(); 706 static const Register ValueRegister();
707 707
708 // The map register isn't part of the normal call specification, but
709 // ElementsTransitionAndStoreStub, used in polymorphic keyed store
710 // stub implementations requires it to be initialized.
711 static const Register MapRegister();
712
713 KeyedStoreIC(FrameDepth depth, Isolate* isolate) 708 KeyedStoreIC(FrameDepth depth, Isolate* isolate)
714 : StoreIC(depth, isolate) { 709 : StoreIC(depth, isolate) {
715 ASSERT(target()->is_keyed_store_stub()); 710 ASSERT(target()->is_keyed_store_stub());
716 } 711 }
717 712
718 MUST_USE_RESULT MaybeHandle<Object> Store(Handle<Object> object, 713 MUST_USE_RESULT MaybeHandle<Object> Store(Handle<Object> object,
719 Handle<Object> name, 714 Handle<Object> name,
720 Handle<Object> value); 715 Handle<Object> value);
721 716
722 // Code generators for stub routines. Only called once at startup. 717 // Code generators for stub routines. Only called once at startup.
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
1043 DECLARE_RUNTIME_FUNCTION(ElementsTransitionAndStoreIC_Miss); 1038 DECLARE_RUNTIME_FUNCTION(ElementsTransitionAndStoreIC_Miss);
1044 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_Miss); 1039 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_Miss);
1045 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_MissWithAllocationSite); 1040 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_MissWithAllocationSite);
1046 DECLARE_RUNTIME_FUNCTION(CompareNilIC_Miss); 1041 DECLARE_RUNTIME_FUNCTION(CompareNilIC_Miss);
1047 DECLARE_RUNTIME_FUNCTION(ToBooleanIC_Miss); 1042 DECLARE_RUNTIME_FUNCTION(ToBooleanIC_Miss);
1048 1043
1049 1044
1050 } } // namespace v8::internal 1045 } } // namespace v8::internal
1051 1046
1052 #endif // V8_IC_H_ 1047 #endif // V8_IC_H_
OLDNEW
« no previous file with comments | « src/ia32/stub-cache-ia32.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698