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

Side by Side Diff: src/type-info.h

Issue 300693002: Revert "Customized support for feedback on calls to Array." and follow-up fixes. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/objects.cc ('k') | src/type-info.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_TYPE_INFO_H_ 5 #ifndef V8_TYPE_INFO_H_
6 #define V8_TYPE_INFO_H_ 6 #define V8_TYPE_INFO_H_
7 7
8 #include "allocation.h" 8 #include "allocation.h"
9 #include "globals.h" 9 #include "globals.h"
10 #include "types.h" 10 #include "types.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 SmallMapList* receiver_types); 58 SmallMapList* receiver_types);
59 59
60 void CollectReceiverTypes(TypeFeedbackId id, 60 void CollectReceiverTypes(TypeFeedbackId id,
61 SmallMapList* types); 61 SmallMapList* types);
62 62
63 static bool CanRetainOtherContext(Map* map, Context* native_context); 63 static bool CanRetainOtherContext(Map* map, Context* native_context);
64 static bool CanRetainOtherContext(JSFunction* function, 64 static bool CanRetainOtherContext(JSFunction* function,
65 Context* native_context); 65 Context* native_context);
66 66
67 Handle<JSFunction> GetCallTarget(int slot); 67 Handle<JSFunction> GetCallTarget(int slot);
68 Handle<AllocationSite> GetCallAllocationSite(int slot);
69 Handle<JSFunction> GetCallNewTarget(int slot); 68 Handle<JSFunction> GetCallNewTarget(int slot);
70 Handle<AllocationSite> GetCallNewAllocationSite(int slot); 69 Handle<AllocationSite> GetCallNewAllocationSite(int slot);
71 70
72 bool LoadIsBuiltin(TypeFeedbackId id, Builtins::Name builtin_id); 71 bool LoadIsBuiltin(TypeFeedbackId id, Builtins::Name builtin_id);
73 bool LoadIsStub(TypeFeedbackId id, ICStub* stub); 72 bool LoadIsStub(TypeFeedbackId id, ICStub* stub);
74 73
75 // TODO(1571) We can't use ToBooleanStub::Types as the return value because 74 // TODO(1571) We can't use ToBooleanStub::Types as the return value because
76 // of various cycles in our headers. Death to tons of implementations in 75 // of various cycles in our headers. Death to tons of implementations in
77 // headers!! :-P 76 // headers!! :-P
78 byte ToBooleanTypes(TypeFeedbackId id); 77 byte ToBooleanTypes(TypeFeedbackId id);
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 Zone* zone_; 124 Zone* zone_;
126 Handle<UnseededNumberDictionary> dictionary_; 125 Handle<UnseededNumberDictionary> dictionary_;
127 Handle<FixedArray> feedback_vector_; 126 Handle<FixedArray> feedback_vector_;
128 127
129 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); 128 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle);
130 }; 129 };
131 130
132 } } // namespace v8::internal 131 } } // namespace v8::internal
133 132
134 #endif // V8_TYPE_INFO_H_ 133 #endif // V8_TYPE_INFO_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/type-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698