OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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_VALUE_SERIALIZER_H_ | 5 #ifndef V8_VALUE_SERIALIZER_H_ |
6 #define V8_VALUE_SERIALIZER_H_ | 6 #define V8_VALUE_SERIALIZER_H_ |
7 | 7 |
8 #include <cstdint> | 8 #include <cstdint> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 | 246 |
247 Isolate* const isolate_; | 247 Isolate* const isolate_; |
248 v8::ValueDeserializer::Delegate* const delegate_; | 248 v8::ValueDeserializer::Delegate* const delegate_; |
249 const uint8_t* position_; | 249 const uint8_t* position_; |
250 const uint8_t* const end_; | 250 const uint8_t* const end_; |
251 PretenureFlag pretenure_; | 251 PretenureFlag pretenure_; |
252 uint32_t version_ = 0; | 252 uint32_t version_ = 0; |
253 uint32_t next_id_ = 0; | 253 uint32_t next_id_ = 0; |
254 | 254 |
255 // Always global handles. | 255 // Always global handles. |
256 Handle<SeededNumberDictionary> id_map_; | 256 Handle<FixedArray> id_map_; |
257 MaybeHandle<SeededNumberDictionary> array_buffer_transfer_map_; | 257 MaybeHandle<SeededNumberDictionary> array_buffer_transfer_map_; |
258 | 258 |
259 DISALLOW_COPY_AND_ASSIGN(ValueDeserializer); | 259 DISALLOW_COPY_AND_ASSIGN(ValueDeserializer); |
260 }; | 260 }; |
261 | 261 |
262 } // namespace internal | 262 } // namespace internal |
263 } // namespace v8 | 263 } // namespace v8 |
264 | 264 |
265 #endif // V8_VALUE_SERIALIZER_H_ | 265 #endif // V8_VALUE_SERIALIZER_H_ |
OLD | NEW |