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

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

Issue 1199413009: Make helper functions compatible with larger ToBooleanStub types. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « src/objects-inl.h ('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 "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 #include "src/types.h" 10 #include "src/types.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 Handle<JSFunction> GetCallTarget(FeedbackVectorICSlot slot); 71 Handle<JSFunction> GetCallTarget(FeedbackVectorICSlot slot);
72 Handle<AllocationSite> GetCallAllocationSite(FeedbackVectorICSlot slot); 72 Handle<AllocationSite> GetCallAllocationSite(FeedbackVectorICSlot slot);
73 Handle<JSFunction> GetCallNewTarget(FeedbackVectorSlot slot); 73 Handle<JSFunction> GetCallNewTarget(FeedbackVectorSlot slot);
74 Handle<AllocationSite> GetCallNewAllocationSite(FeedbackVectorSlot slot); 74 Handle<AllocationSite> GetCallNewAllocationSite(FeedbackVectorSlot slot);
75 75
76 bool LoadIsBuiltin(TypeFeedbackId id, Builtins::Name builtin_id); 76 bool LoadIsBuiltin(TypeFeedbackId id, Builtins::Name builtin_id);
77 77
78 // TODO(1571) We can't use ToBooleanStub::Types as the return value because 78 // TODO(1571) We can't use ToBooleanStub::Types as the return value because
79 // of various cycles in our headers. Death to tons of implementations in 79 // of various cycles in our headers. Death to tons of implementations in
80 // headers!! :-P 80 // headers!! :-P
81 byte ToBooleanTypes(TypeFeedbackId id); 81 uint16_t ToBooleanTypes(TypeFeedbackId id);
82 82
83 // Get type information for arithmetic operations and compares. 83 // Get type information for arithmetic operations and compares.
84 void BinaryType(TypeFeedbackId id, 84 void BinaryType(TypeFeedbackId id,
85 Type** left, 85 Type** left,
86 Type** right, 86 Type** right,
87 Type** result, 87 Type** result,
88 Maybe<int>* fixed_right_arg, 88 Maybe<int>* fixed_right_arg,
89 Handle<AllocationSite>* allocation_site, 89 Handle<AllocationSite>* allocation_site,
90 Token::Value operation); 90 Token::Value operation);
91 91
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 Zone* zone_; 135 Zone* zone_;
136 Handle<UnseededNumberDictionary> dictionary_; 136 Handle<UnseededNumberDictionary> dictionary_;
137 Handle<TypeFeedbackVector> feedback_vector_; 137 Handle<TypeFeedbackVector> feedback_vector_;
138 138
139 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); 139 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle);
140 }; 140 };
141 141
142 } } // namespace v8::internal 142 } } // namespace v8::internal
143 143
144 #endif // V8_TYPE_INFO_H_ 144 #endif // V8_TYPE_INFO_H_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/type-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698