| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 #include "types.h" | 5 #include "types.h" |
| 6 | 6 |
| 7 #include "string-stream.h" | 7 #include "string-stream.h" |
| 8 #include "types-inl.h" | 8 #include "types-inl.h" |
| 9 | 9 |
| 10 namespace v8 { | 10 namespace v8 { |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 // we must exclude Undetectable here. This makes no sense, really, | 249 // we must exclude Undetectable here. This makes no sense, really, |
| 250 // because it means that the template isn't actually parametric. | 250 // because it means that the template isn't actually parametric. |
| 251 // Also, it doesn't apply elsewhere. 8-( | 251 // Also, it doesn't apply elsewhere. 8-( |
| 252 // We ought to find a cleaner solution for compiling stubs parameterised | 252 // We ought to find a cleaner solution for compiling stubs parameterised |
| 253 // over type or class variables, esp ones with bounds... | 253 // over type or class variables, esp ones with bounds... |
| 254 return kDetectable; | 254 return kDetectable; |
| 255 case DECLARED_ACCESSOR_INFO_TYPE: | 255 case DECLARED_ACCESSOR_INFO_TYPE: |
| 256 case EXECUTABLE_ACCESSOR_INFO_TYPE: | 256 case EXECUTABLE_ACCESSOR_INFO_TYPE: |
| 257 case ACCESSOR_PAIR_TYPE: | 257 case ACCESSOR_PAIR_TYPE: |
| 258 case FIXED_ARRAY_TYPE: | 258 case FIXED_ARRAY_TYPE: |
| 259 case FOREIGN_TYPE: |
| 259 return kInternal & kTaggedPtr; | 260 return kInternal & kTaggedPtr; |
| 260 default: | 261 default: |
| 261 UNREACHABLE(); | 262 UNREACHABLE(); |
| 262 return kNone; | 263 return kNone; |
| 263 } | 264 } |
| 264 } | 265 } |
| 265 | 266 |
| 266 | 267 |
| 267 // Most precise _current_ type of a value (usually its class). | 268 // Most precise _current_ type of a value (usually its class). |
| 268 template<class Config> | 269 template<class Config> |
| (...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 774 template class TypeImpl<HeapTypeConfig>::Iterator<i::Object>; | 775 template class TypeImpl<HeapTypeConfig>::Iterator<i::Object>; |
| 775 | 776 |
| 776 template TypeImpl<ZoneTypeConfig>::TypeHandle | 777 template TypeImpl<ZoneTypeConfig>::TypeHandle |
| 777 TypeImpl<ZoneTypeConfig>::Convert<HeapType>( | 778 TypeImpl<ZoneTypeConfig>::Convert<HeapType>( |
| 778 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*); | 779 TypeImpl<HeapTypeConfig>::TypeHandle, TypeImpl<ZoneTypeConfig>::Region*); |
| 779 template TypeImpl<HeapTypeConfig>::TypeHandle | 780 template TypeImpl<HeapTypeConfig>::TypeHandle |
| 780 TypeImpl<HeapTypeConfig>::Convert<Type>( | 781 TypeImpl<HeapTypeConfig>::Convert<Type>( |
| 781 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*); | 782 TypeImpl<ZoneTypeConfig>::TypeHandle, TypeImpl<HeapTypeConfig>::Region*); |
| 782 | 783 |
| 783 } } // namespace v8::internal | 784 } } // namespace v8::internal |
| OLD | NEW |