OLD | NEW |
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 ICStub; | |
18 class SmallMapList; | 17 class SmallMapList; |
19 | 18 |
20 | 19 |
21 class TypeFeedbackOracle: public ZoneObject { | 20 class TypeFeedbackOracle: public ZoneObject { |
22 public: | 21 public: |
23 TypeFeedbackOracle(Handle<Code> code, | 22 TypeFeedbackOracle(Handle<Code> code, |
24 Handle<FixedArray> feedback_vector, | 23 Handle<FixedArray> feedback_vector, |
25 Handle<Context> native_context, | 24 Handle<Context> native_context, |
26 Zone* zone); | 25 Zone* zone); |
27 | 26 |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 Zone* zone_; | 121 Zone* zone_; |
123 Handle<UnseededNumberDictionary> dictionary_; | 122 Handle<UnseededNumberDictionary> dictionary_; |
124 Handle<FixedArray> feedback_vector_; | 123 Handle<FixedArray> feedback_vector_; |
125 | 124 |
126 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); | 125 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); |
127 }; | 126 }; |
128 | 127 |
129 } } // namespace v8::internal | 128 } } // namespace v8::internal |
130 | 129 |
131 #endif // V8_TYPE_INFO_H_ | 130 #endif // V8_TYPE_INFO_H_ |
OLD | NEW |