karlklose@chromium.org | 44bc708 | 2011-04-11 12:33:05 +0000 | [diff] [blame] | 1 | // Copyright 2011 the V8 project authors. All rights reserved. |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 2 | // Redistribution and use in source and binary forms, with or without |
| 3 | // modification, are permitted provided that the following conditions are |
| 4 | // met: |
| 5 | // |
| 6 | // * Redistributions of source code must retain the above copyright |
| 7 | // notice, this list of conditions and the following disclaimer. |
| 8 | // * Redistributions in binary form must reproduce the above |
| 9 | // copyright notice, this list of conditions and the following |
| 10 | // disclaimer in the documentation and/or other materials provided |
| 11 | // with the distribution. |
| 12 | // * Neither the name of Google Inc. nor the names of its |
| 13 | // contributors may be used to endorse or promote products derived |
| 14 | // from this software without specific prior written permission. |
| 15 | // |
| 16 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 17 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 18 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 19 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 20 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 21 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 22 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 23 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 24 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 25 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 26 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 | |
| 28 | #ifndef V8_TYPE_INFO_H_ |
| 29 | #define V8_TYPE_INFO_H_ |
| 30 | |
lrn@chromium.org | 1c09276 | 2011-05-09 09:42:16 +0000 | [diff] [blame] | 31 | #include "allocation.h" |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 32 | #include "globals.h" |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 33 | #include "zone-inl.h" |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 34 | |
| 35 | namespace v8 { |
| 36 | namespace internal { |
| 37 | |
whesse@chromium.org | 7b26015 | 2011-06-20 15:33:18 +0000 | [diff] [blame] | 38 | const int kMaxKeyedPolymorphism = 4; |
| 39 | |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 40 | // Unknown |
sgjesse@chromium.org | 8e8294a | 2011-05-02 14:30:53 +0000 | [diff] [blame] | 41 | // | \____________ |
| 42 | // | | |
| 43 | // Primitive Non-primitive |
| 44 | // | \_______ | |
| 45 | // | | | |
| 46 | // Number String | |
| 47 | // / \ | | |
| 48 | // Double Integer32 | / |
| 49 | // | | / / |
| 50 | // | Smi / / |
| 51 | // | | / __/ |
| 52 | // Uninitialized. |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 53 | |
| 54 | class TypeInfo { |
| 55 | public: |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 56 | TypeInfo() : type_(kUninitialized) { } |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 57 | |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 58 | static TypeInfo Unknown() { return TypeInfo(kUnknown); } |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 59 | // We know it's a primitive type. |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 60 | static TypeInfo Primitive() { return TypeInfo(kPrimitive); } |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 61 | // We know it's a number of some sort. |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 62 | static TypeInfo Number() { return TypeInfo(kNumber); } |
| 63 | // We know it's a signed 32 bit integer. |
| 64 | static TypeInfo Integer32() { return TypeInfo(kInteger32); } |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 65 | // We know it's a Smi. |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 66 | static TypeInfo Smi() { return TypeInfo(kSmi); } |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 67 | // We know it's a heap number. |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 68 | static TypeInfo Double() { return TypeInfo(kDouble); } |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 69 | // We know it's a string. |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 70 | static TypeInfo String() { return TypeInfo(kString); } |
| 71 | // We know it's a non-primitive (object) type. |
| 72 | static TypeInfo NonPrimitive() { return TypeInfo(kNonPrimitive); } |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 73 | // We haven't started collecting info yet. |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 74 | static TypeInfo Uninitialized() { return TypeInfo(kUninitialized); } |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 75 | |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 76 | int ToInt() { |
| 77 | return type_; |
| 78 | } |
| 79 | |
| 80 | static TypeInfo FromInt(int bit_representation) { |
| 81 | Type t = static_cast<Type>(bit_representation); |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 82 | ASSERT(t == kUnknown || |
| 83 | t == kPrimitive || |
| 84 | t == kNumber || |
| 85 | t == kInteger32 || |
| 86 | t == kSmi || |
| 87 | t == kDouble || |
| 88 | t == kString || |
| 89 | t == kNonPrimitive); |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 90 | return TypeInfo(t); |
| 91 | } |
| 92 | |
| 93 | // Return the weakest (least precise) common type. |
| 94 | static TypeInfo Combine(TypeInfo a, TypeInfo b) { |
| 95 | return TypeInfo(static_cast<Type>(a.type_ & b.type_)); |
| 96 | } |
| 97 | |
| 98 | |
ricow@chromium.org | 83aa549 | 2011-02-07 12:42:56 +0000 | [diff] [blame] | 99 | // Integer32 is an integer that can be represented as a signed |
| 100 | // 32-bit integer. It has to be |
| 101 | // in the range [-2^31, 2^31 - 1]. We also have to check for negative 0 |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 102 | // as it is not an Integer32. |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 103 | static inline bool IsInt32Double(double value) { |
| 104 | const DoubleRepresentation minus_zero(-0.0); |
| 105 | DoubleRepresentation rep(value); |
| 106 | if (rep.bits == minus_zero.bits) return false; |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 107 | if (value >= kMinInt && value <= kMaxInt && |
| 108 | value == static_cast<int32_t>(value)) { |
| 109 | return true; |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 110 | } |
| 111 | return false; |
| 112 | } |
| 113 | |
ricow@chromium.org | aa1b616 | 2010-03-29 07:44:58 +0000 | [diff] [blame] | 114 | static TypeInfo TypeFromValue(Handle<Object> value); |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 115 | |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 116 | bool Equals(const TypeInfo& other) { |
| 117 | return type_ == other.type_; |
| 118 | } |
| 119 | |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 120 | inline bool IsUnknown() { |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 121 | ASSERT(type_ != kUninitialized); |
| 122 | return type_ == kUnknown; |
| 123 | } |
| 124 | |
| 125 | inline bool IsPrimitive() { |
| 126 | ASSERT(type_ != kUninitialized); |
| 127 | return ((type_ & kPrimitive) == kPrimitive); |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 128 | } |
| 129 | |
| 130 | inline bool IsNumber() { |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 131 | ASSERT(type_ != kUninitialized); |
| 132 | return ((type_ & kNumber) == kNumber); |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 133 | } |
| 134 | |
| 135 | inline bool IsSmi() { |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 136 | ASSERT(type_ != kUninitialized); |
| 137 | return ((type_ & kSmi) == kSmi); |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 138 | } |
| 139 | |
| 140 | inline bool IsInteger32() { |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 141 | ASSERT(type_ != kUninitialized); |
| 142 | return ((type_ & kInteger32) == kInteger32); |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 143 | } |
| 144 | |
| 145 | inline bool IsDouble() { |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 146 | ASSERT(type_ != kUninitialized); |
| 147 | return ((type_ & kDouble) == kDouble); |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 148 | } |
| 149 | |
lrn@chromium.org | 25156de | 2010-04-06 13:10:27 +0000 | [diff] [blame] | 150 | inline bool IsString() { |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 151 | ASSERT(type_ != kUninitialized); |
| 152 | return ((type_ & kString) == kString); |
| 153 | } |
| 154 | |
| 155 | inline bool IsNonPrimitive() { |
| 156 | ASSERT(type_ != kUninitialized); |
| 157 | return ((type_ & kNonPrimitive) == kNonPrimitive); |
lrn@chromium.org | 25156de | 2010-04-06 13:10:27 +0000 | [diff] [blame] | 158 | } |
| 159 | |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 160 | inline bool IsUninitialized() { |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 161 | return type_ == kUninitialized; |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 162 | } |
| 163 | |
| 164 | const char* ToString() { |
| 165 | switch (type_) { |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 166 | case kUnknown: return "Unknown"; |
| 167 | case kPrimitive: return "Primitive"; |
| 168 | case kNumber: return "Number"; |
| 169 | case kInteger32: return "Integer32"; |
| 170 | case kSmi: return "Smi"; |
| 171 | case kDouble: return "Double"; |
| 172 | case kString: return "String"; |
| 173 | case kNonPrimitive: return "Object"; |
| 174 | case kUninitialized: return "Uninitialized"; |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 175 | } |
| 176 | UNREACHABLE(); |
| 177 | return "Unreachable code"; |
| 178 | } |
| 179 | |
| 180 | private: |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 181 | enum Type { |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 182 | kUnknown = 0, // 0000000 |
| 183 | kPrimitive = 0x10, // 0010000 |
| 184 | kNumber = 0x11, // 0010001 |
| 185 | kInteger32 = 0x13, // 0010011 |
| 186 | kSmi = 0x17, // 0010111 |
| 187 | kDouble = 0x19, // 0011001 |
| 188 | kString = 0x30, // 0110000 |
| 189 | kNonPrimitive = 0x40, // 1000000 |
| 190 | kUninitialized = 0x7f // 1111111 |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 191 | }; |
| 192 | explicit inline TypeInfo(Type t) : type_(t) { } |
| 193 | |
| 194 | Type type_; |
| 195 | }; |
| 196 | |
| 197 | |
erik.corry@gmail.com | 0511e24 | 2011-01-19 11:11:08 +0000 | [diff] [blame] | 198 | enum StringStubFeedback { |
| 199 | DEFAULT_STRING_STUB = 0, |
| 200 | STRING_INDEX_OUT_OF_BOUNDS = 1 |
| 201 | }; |
| 202 | |
| 203 | |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 204 | // Forward declarations. |
| 205 | class Assignment; |
| 206 | class BinaryOperation; |
| 207 | class Call; |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 208 | class CaseClause; |
ricow@chromium.org | ddd545c | 2011-08-24 12:02:41 +0000 | [diff] [blame] | 209 | class CompareOperation; |
| 210 | class CompilationInfo; |
| 211 | class CountOperation; |
| 212 | class Property; |
| 213 | class SmallMapList; |
| 214 | class UnaryOperation; |
| 215 | |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 216 | |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 217 | class TypeFeedbackOracle BASE_EMBEDDED { |
| 218 | public: |
sgjesse@chromium.org | c6c5718 | 2011-01-17 12:24:25 +0000 | [diff] [blame] | 219 | TypeFeedbackOracle(Handle<Code> code, Handle<Context> global_context); |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 220 | |
svenpanne@chromium.org | 6d786c9 | 2011-06-15 10:58:27 +0000 | [diff] [blame] | 221 | bool LoadIsMonomorphicNormal(Property* expr); |
whesse@chromium.org | 7b26015 | 2011-06-20 15:33:18 +0000 | [diff] [blame] | 222 | bool LoadIsMegamorphicWithTypeInfo(Property* expr); |
svenpanne@chromium.org | 6d786c9 | 2011-06-15 10:58:27 +0000 | [diff] [blame] | 223 | bool StoreIsMonomorphicNormal(Expression* expr); |
whesse@chromium.org | 7b26015 | 2011-06-20 15:33:18 +0000 | [diff] [blame] | 224 | bool StoreIsMegamorphicWithTypeInfo(Expression* expr); |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 225 | bool CallIsMonomorphic(Call* expr); |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 226 | |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 227 | Handle<Map> LoadMonomorphicReceiverType(Property* expr); |
karlklose@chromium.org | 44bc708 | 2011-04-11 12:33:05 +0000 | [diff] [blame] | 228 | Handle<Map> StoreMonomorphicReceiverType(Expression* expr); |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 229 | |
ricow@chromium.org | ddd545c | 2011-08-24 12:02:41 +0000 | [diff] [blame] | 230 | void LoadReceiverTypes(Property* expr, |
| 231 | Handle<String> name, |
| 232 | SmallMapList* types); |
| 233 | void StoreReceiverTypes(Assignment* expr, |
| 234 | Handle<String> name, |
| 235 | SmallMapList* types); |
| 236 | void CallReceiverTypes(Call* expr, |
| 237 | Handle<String> name, |
| 238 | CallKind call_kind, |
| 239 | SmallMapList* types); |
whesse@chromium.org | 7b26015 | 2011-06-20 15:33:18 +0000 | [diff] [blame] | 240 | void CollectKeyedReceiverTypes(unsigned ast_id, |
ricow@chromium.org | ddd545c | 2011-08-24 12:02:41 +0000 | [diff] [blame] | 241 | SmallMapList* types); |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 242 | |
sgjesse@chromium.org | c6c5718 | 2011-01-17 12:24:25 +0000 | [diff] [blame] | 243 | CheckType GetCallCheckType(Call* expr); |
| 244 | Handle<JSObject> GetPrototypeForPrimitiveCheck(CheckType check); |
| 245 | |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 246 | bool LoadIsBuiltin(Property* expr, Builtins::Name id); |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 247 | |
ricow@chromium.org | 2c99e28 | 2011-07-28 09:15:17 +0000 | [diff] [blame] | 248 | // TODO(1571) We can't use ToBooleanStub::Types as the return value because |
| 249 | // of various cylces in our headers. Death to tons of implementations in |
| 250 | // headers!! :-P |
| 251 | byte ToBooleanTypes(unsigned ast_id); |
| 252 | |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 253 | // Get type information for arithmetic operations and compares. |
sgjesse@chromium.org | 8e8294a | 2011-05-02 14:30:53 +0000 | [diff] [blame] | 254 | TypeInfo UnaryType(UnaryOperation* expr); |
ager@chromium.org | 378b34e | 2011-01-28 08:04:38 +0000 | [diff] [blame] | 255 | TypeInfo BinaryType(BinaryOperation* expr); |
| 256 | TypeInfo CompareType(CompareOperation* expr); |
vegorov@chromium.org | 7304bca | 2011-05-16 12:14:13 +0000 | [diff] [blame] | 257 | bool IsSymbolCompare(CompareOperation* expr); |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 258 | TypeInfo SwitchType(CaseClause* clause); |
sgjesse@chromium.org | 8e8294a | 2011-05-02 14:30:53 +0000 | [diff] [blame] | 259 | TypeInfo IncrementType(CountOperation* expr); |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 260 | |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 261 | private: |
ricow@chromium.org | ddd545c | 2011-08-24 12:02:41 +0000 | [diff] [blame] | 262 | void CollectReceiverTypes(unsigned ast_id, |
| 263 | Handle<String> name, |
| 264 | Code::Flags flags, |
| 265 | SmallMapList* types); |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 266 | |
sgjesse@chromium.org | 8e8294a | 2011-05-02 14:30:53 +0000 | [diff] [blame] | 267 | void SetInfo(unsigned ast_id, Object* target); |
kmillikin@chromium.org | c36ce6e | 2011-04-04 08:25:31 +0000 | [diff] [blame] | 268 | |
whesse@chromium.org | 7b26015 | 2011-06-20 15:33:18 +0000 | [diff] [blame] | 269 | void BuildDictionary(Handle<Code> code); |
| 270 | void GetRelocInfos(Handle<Code> code, ZoneList<RelocInfo>* infos); |
| 271 | void CreateDictionary(Handle<Code> code, ZoneList<RelocInfo>* infos); |
| 272 | void RelocateRelocInfos(ZoneList<RelocInfo>* infos, |
| 273 | byte* old_start, |
| 274 | byte* new_start); |
| 275 | void ProcessRelocInfos(ZoneList<RelocInfo>* infos); |
| 276 | void ProcessTarget(unsigned ast_id, Code* target); |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 277 | |
danno@chromium.org | 4d3fe4e | 2011-03-10 10:14:28 +0000 | [diff] [blame] | 278 | // Returns an element from the backing store. Returns undefined if |
| 279 | // there is no information. |
sgjesse@chromium.org | 8e8294a | 2011-05-02 14:30:53 +0000 | [diff] [blame] | 280 | Handle<Object> GetInfo(unsigned ast_id); |
danno@chromium.org | 4d3fe4e | 2011-03-10 10:14:28 +0000 | [diff] [blame] | 281 | |
sgjesse@chromium.org | c6c5718 | 2011-01-17 12:24:25 +0000 | [diff] [blame] | 282 | Handle<Context> global_context_; |
danno@chromium.org | 4d3fe4e | 2011-03-10 10:14:28 +0000 | [diff] [blame] | 283 | Handle<NumberDictionary> dictionary_; |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 284 | |
kasperl@chromium.org | a555126 | 2010-12-07 12:49:48 +0000 | [diff] [blame] | 285 | DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); |
| 286 | }; |
sgjesse@chromium.org | df7a284 | 2010-03-25 14:34:15 +0000 | [diff] [blame] | 287 | |
| 288 | } } // namespace v8::internal |
| 289 | |
| 290 | #endif // V8_TYPE_INFO_H_ |