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

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

Issue 623513002: Drop some unused code (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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
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"
11 #include "src/zone-inl.h" 11 #include "src/zone-inl.h"
12 12
13 namespace v8 { 13 namespace v8 {
14 namespace internal { 14 namespace internal {
15 15
16 // Forward declarations. 16 // Forward declarations.
17 class SmallMapList; 17 class SmallMapList;
18 18
19 19
20 class TypeFeedbackOracle: public ZoneObject { 20 class TypeFeedbackOracle: public ZoneObject {
21 public: 21 public:
22 TypeFeedbackOracle(Handle<Code> code, 22 TypeFeedbackOracle(Handle<Code> code,
23 Handle<TypeFeedbackVector> feedback_vector, 23 Handle<TypeFeedbackVector> feedback_vector,
24 Handle<Context> native_context, Zone* zone); 24 Handle<Context> native_context, Zone* zone);
25 25
26 bool LoadIsUninitialized(TypeFeedbackId id); 26 bool LoadIsUninitialized(TypeFeedbackId id);
27 bool StoreIsUninitialized(TypeFeedbackId id); 27 bool StoreIsUninitialized(TypeFeedbackId id);
28 bool StoreIsKeyedPolymorphic(TypeFeedbackId id);
29 bool CallIsMonomorphic(int slot); 28 bool CallIsMonomorphic(int slot);
30 bool CallIsMonomorphic(TypeFeedbackId aid); 29 bool CallIsMonomorphic(TypeFeedbackId aid);
31 bool KeyedArrayCallIsHoley(TypeFeedbackId id); 30 bool KeyedArrayCallIsHoley(TypeFeedbackId id);
32 bool CallNewIsMonomorphic(int slot); 31 bool CallNewIsMonomorphic(int slot);
33 32
34 // TODO(1571) We can't use ForInStatement::ForInType as the return value due 33 // TODO(1571) We can't use ForInStatement::ForInType as the return value due
35 // to various cycles in our headers. 34 // to various cycles in our headers.
36 // TODO(rossberg): once all oracle access is removed from ast.cc, it should 35 // TODO(rossberg): once all oracle access is removed from ast.cc, it should
37 // be possible. 36 // be possible.
38 byte ForInType(int feedback_vector_slot); 37 byte ForInType(int feedback_vector_slot);
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 Zone* zone_; 119 Zone* zone_;
121 Handle<UnseededNumberDictionary> dictionary_; 120 Handle<UnseededNumberDictionary> dictionary_;
122 Handle<TypeFeedbackVector> feedback_vector_; 121 Handle<TypeFeedbackVector> feedback_vector_;
123 122
124 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); 123 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle);
125 }; 124 };
126 125
127 } } // namespace v8::internal 126 } } // namespace v8::internal
128 127
129 #endif // V8_TYPE_INFO_H_ 128 #endif // V8_TYPE_INFO_H_
OLDNEW
« src/hydrogen-bch.cc ('K') | « src/hydrogen-instructions.cc ('k') | src/type-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698