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/type-info.h

Issue 1053143005: Collect type feedback on result of Math.[round|ceil|floor] (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: MIPS port Created 5 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
« no previous file with comments | « src/type-feedback-vector.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 "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 10 matching lines...) Expand all
21 public: 21 public:
22 TypeFeedbackOracle(Isolate* isolate, Zone* zone, Handle<Code> code, 22 TypeFeedbackOracle(Isolate* isolate, Zone* zone, Handle<Code> code,
23 Handle<TypeFeedbackVector> feedback_vector, 23 Handle<TypeFeedbackVector> feedback_vector,
24 Handle<Context> native_context); 24 Handle<Context> native_context);
25 25
26 InlineCacheState LoadInlineCacheState(TypeFeedbackId id); 26 InlineCacheState LoadInlineCacheState(TypeFeedbackId id);
27 InlineCacheState LoadInlineCacheState(FeedbackVectorICSlot slot); 27 InlineCacheState LoadInlineCacheState(FeedbackVectorICSlot slot);
28 bool StoreIsUninitialized(TypeFeedbackId id); 28 bool StoreIsUninitialized(TypeFeedbackId id);
29 bool CallIsUninitialized(FeedbackVectorICSlot slot); 29 bool CallIsUninitialized(FeedbackVectorICSlot slot);
30 bool CallIsMonomorphic(FeedbackVectorICSlot slot); 30 bool CallIsMonomorphic(FeedbackVectorICSlot slot);
31 bool CallIsBuiltinWithMinusZeroResult(FeedbackVectorICSlot slot);
31 bool KeyedArrayCallIsHoley(TypeFeedbackId id); 32 bool KeyedArrayCallIsHoley(TypeFeedbackId id);
32 bool CallNewIsMonomorphic(FeedbackVectorSlot slot); 33 bool CallNewIsMonomorphic(FeedbackVectorSlot slot);
33 34
34 // TODO(1571) We can't use ForInStatement::ForInType as the return value due 35 // TODO(1571) We can't use ForInStatement::ForInType as the return value due
35 // to various cycles in our headers. 36 // to various cycles in our headers.
36 // TODO(rossberg): once all oracle access is removed from ast.cc, it should 37 // TODO(rossberg): once all oracle access is removed from ast.cc, it should
37 // be possible. 38 // be possible.
38 byte ForInType(FeedbackVectorSlot feedback_vector_slot); 39 byte ForInType(FeedbackVectorSlot feedback_vector_slot);
39 40
40 void GetStoreModeAndKeyType(TypeFeedbackId id, 41 void GetStoreModeAndKeyType(TypeFeedbackId id,
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 Zone* zone_; 142 Zone* zone_;
142 Handle<UnseededNumberDictionary> dictionary_; 143 Handle<UnseededNumberDictionary> dictionary_;
143 Handle<TypeFeedbackVector> feedback_vector_; 144 Handle<TypeFeedbackVector> feedback_vector_;
144 145
145 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); 146 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle);
146 }; 147 };
147 148
148 } } // namespace v8::internal 149 } } // namespace v8::internal
149 150
150 #endif // V8_TYPE_INFO_H_ 151 #endif // V8_TYPE_INFO_H_
OLDNEW
« no previous file with comments | « src/type-feedback-vector.cc ('k') | src/type-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698