| 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 #ifndef V8_TYPES_INL_H_ | 5 #ifndef V8_TYPES_INL_H_ |
| 6 #define V8_TYPES_INL_H_ | 6 #define V8_TYPES_INL_H_ |
| 7 | 7 |
| 8 #include "types.h" | 8 #include "src/types.h" |
| 9 | 9 |
| 10 #include "factory.h" | 10 #include "src/factory.h" |
| 11 #include "handles-inl.h" | 11 #include "src/handles-inl.h" |
| 12 | 12 |
| 13 namespace v8 { | 13 namespace v8 { |
| 14 namespace internal { | 14 namespace internal { |
| 15 | 15 |
| 16 // ----------------------------------------------------------------------------- | 16 // ----------------------------------------------------------------------------- |
| 17 // TypeImpl | 17 // TypeImpl |
| 18 | 18 |
| 19 template<class Config> | 19 template<class Config> |
| 20 TypeImpl<Config>* TypeImpl<Config>::cast(typename Config::Base* object) { | 20 TypeImpl<Config>* TypeImpl<Config>::cast(typename Config::Base* object) { |
| 21 TypeImpl* t = static_cast<TypeImpl*>(object); | 21 TypeImpl* t = static_cast<TypeImpl*>(object); |
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 // static | 327 // static |
| 328 template<class V> | 328 template<class V> |
| 329 void HeapTypeConfig::struct_set_value( | 329 void HeapTypeConfig::struct_set_value( |
| 330 i::Handle<Struct> structure, int i, i::Handle<V> x) { | 330 i::Handle<Struct> structure, int i, i::Handle<V> x) { |
| 331 structure->set(i + 1, *x); | 331 structure->set(i + 1, *x); |
| 332 } | 332 } |
| 333 | 333 |
| 334 } } // namespace v8::internal | 334 } } // namespace v8::internal |
| 335 | 335 |
| 336 #endif // V8_TYPES_INL_H_ | 336 #endif // V8_TYPES_INL_H_ |
| OLD | NEW |