| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 TypeVector types; | 140 TypeVector types; |
| 141 ValueVector values; | 141 ValueVector values; |
| 142 ValueVector integers; // "Integer" values used for range limits. | 142 ValueVector integers; // "Integer" values used for range limits. |
| 143 | 143 |
| 144 Type* Of(Handle<i::Object> value) { return Type::Of(value, zone_); } | 144 Type* Of(Handle<i::Object> value) { return Type::Of(value, zone_); } |
| 145 | 145 |
| 146 Type* NewConstant(Handle<i::Object> value) { | 146 Type* NewConstant(Handle<i::Object> value) { |
| 147 return Type::NewConstant(value, zone_); | 147 return Type::NewConstant(value, zone_); |
| 148 } | 148 } |
| 149 | 149 |
| 150 Type* HeapConstant(Handle<i::Object> value) { | 150 Type* HeapConstant(Handle<i::HeapObject> value) { |
| 151 return Type::HeapConstant(value, zone_); | 151 return Type::HeapConstant(value, zone_); |
| 152 } | 152 } |
| 153 | 153 |
| 154 Type* Range(double min, double max) { return Type::Range(min, max, zone_); } | 154 Type* Range(double min, double max) { return Type::Range(min, max, zone_); } |
| 155 | 155 |
| 156 Type* Union(Type* t1, Type* t2) { return Type::Union(t1, t2, zone_); } | 156 Type* Union(Type* t1, Type* t2) { return Type::Union(t1, t2, zone_); } |
| 157 | 157 |
| 158 Type* Intersect(Type* t1, Type* t2) { return Type::Intersect(t1, t2, zone_); } | 158 Type* Intersect(Type* t1, Type* t2) { return Type::Intersect(t1, t2, zone_); } |
| 159 | 159 |
| 160 Type* Random() { | 160 Type* Random() { |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 private: | 216 private: |
| 217 Zone* zone_; | 217 Zone* zone_; |
| 218 v8::base::RandomNumberGenerator* rng_; | 218 v8::base::RandomNumberGenerator* rng_; |
| 219 }; | 219 }; |
| 220 | 220 |
| 221 } // namespace compiler | 221 } // namespace compiler |
| 222 } // namespace internal | 222 } // namespace internal |
| 223 } // namespace v8 | 223 } // namespace v8 |
| 224 | 224 |
| 225 #endif | 225 #endif |
| OLD | NEW |