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

Side by Side Diff: src/ic.h

Issue 260803002: Map::TransitionElementsTo() extracted from JSObject::GetElementsTransitionMap(). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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 | « no previous file | src/ic.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 "macro-assembler.h" 8 #include "macro-assembler.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after
696 696
697 static void Clear(Isolate* isolate, 697 static void Clear(Isolate* isolate,
698 Address address, 698 Address address,
699 Code* target, 699 Code* target,
700 ConstantPoolArray* constant_pool); 700 ConstantPoolArray* constant_pool);
701 701
702 KeyedAccessStoreMode GetStoreMode(Handle<JSObject> receiver, 702 KeyedAccessStoreMode GetStoreMode(Handle<JSObject> receiver,
703 Handle<Object> key, 703 Handle<Object> key,
704 Handle<Object> value); 704 Handle<Object> value);
705 705
706 Handle<Map> ComputeTransitionedMap(Handle<JSObject> receiver, 706 Handle<Map> ComputeTransitionedMap(Handle<Map> map,
707 KeyedAccessStoreMode store_mode); 707 KeyedAccessStoreMode store_mode);
708 708
709 friend class IC; 709 friend class IC;
710 }; 710 };
711 711
712 712
713 // Mode to overwrite BinaryExpression values. 713 // Mode to overwrite BinaryExpression values.
714 enum OverwriteMode { NO_OVERWRITE, OVERWRITE_LEFT, OVERWRITE_RIGHT }; 714 enum OverwriteMode { NO_OVERWRITE, OVERWRITE_LEFT, OVERWRITE_RIGHT };
715 715
716 // Type Recording BinaryOpIC, that records the types of the inputs and outputs. 716 // Type Recording BinaryOpIC, that records the types of the inputs and outputs.
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
954 DECLARE_RUNTIME_FUNCTION(ElementsTransitionAndStoreIC_Miss); 954 DECLARE_RUNTIME_FUNCTION(ElementsTransitionAndStoreIC_Miss);
955 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_Miss); 955 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_Miss);
956 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_MissWithAllocationSite); 956 DECLARE_RUNTIME_FUNCTION(BinaryOpIC_MissWithAllocationSite);
957 DECLARE_RUNTIME_FUNCTION(CompareNilIC_Miss); 957 DECLARE_RUNTIME_FUNCTION(CompareNilIC_Miss);
958 DECLARE_RUNTIME_FUNCTION(ToBooleanIC_Miss); 958 DECLARE_RUNTIME_FUNCTION(ToBooleanIC_Miss);
959 959
960 960
961 } } // namespace v8::internal 961 } } // namespace v8::internal
962 962
963 #endif // V8_IC_H_ 963 #endif // V8_IC_H_
OLDNEW
« no previous file with comments | « no previous file | src/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698