| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #include "vm/bigint_operations.h" | 5 #include "vm/bigint_operations.h" |
| 6 #include "vm/object.h" | 6 #include "vm/object.h" |
| 7 #include "vm/object_store.h" | 7 #include "vm/object_store.h" |
| 8 #include "vm/snapshot.h" | 8 #include "vm/snapshot.h" |
| 9 #include "vm/symbols.h" | 9 #include "vm/symbols.h" |
| 10 #include "vm/visitor.h" | 10 #include "vm/visitor.h" |
| (...skipping 1953 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1964 for (intptr_t i = 0; i < len; ++i) { | 1964 for (intptr_t i = 0; i < len; ++i) { |
| 1965 result.SetAt(i, reader->Read<ElementT>()); | 1965 result.SetAt(i, reader->Read<ElementT>()); |
| 1966 } | 1966 } |
| 1967 return result.raw(); | 1967 return result.raw(); |
| 1968 } | 1968 } |
| 1969 | 1969 |
| 1970 | 1970 |
| 1971 #define BYTEARRAY_TYPE_LIST(V) \ | 1971 #define BYTEARRAY_TYPE_LIST(V) \ |
| 1972 V(Int8, int8, int8_t) \ | 1972 V(Int8, int8, int8_t) \ |
| 1973 V(Uint8, uint8, uint8_t) \ | 1973 V(Uint8, uint8, uint8_t) \ |
| 1974 V(Uint8Clamped, uint8, uint8_t) \ |
| 1974 V(Int16, int16, int16_t) \ | 1975 V(Int16, int16, int16_t) \ |
| 1975 V(Uint16, uint16, uint16_t) \ | 1976 V(Uint16, uint16, uint16_t) \ |
| 1976 V(Int32, int32, int32_t) \ | 1977 V(Int32, int32, int32_t) \ |
| 1977 V(Uint32, uint32, uint32_t) \ | 1978 V(Uint32, uint32, uint32_t) \ |
| 1978 V(Int64, int64, int64_t) \ | 1979 V(Int64, int64, int64_t) \ |
| 1979 V(Uint64, uint64, uint64_t) \ | 1980 V(Uint64, uint64, uint64_t) \ |
| 1980 V(Float32, float32, float) \ | 1981 V(Float32, float32, float) \ |
| 1981 V(Float64, float64, double) \ | 1982 V(Float64, float64, double) \ |
| 1982 | 1983 |
| 1983 | 1984 |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2211 // Write out the class and tags information. | 2212 // Write out the class and tags information. |
| 2212 writer->WriteIndexedObject(kWeakPropertyCid); | 2213 writer->WriteIndexedObject(kWeakPropertyCid); |
| 2213 writer->WriteIntptrValue(writer->GetObjectTags(this)); | 2214 writer->WriteIntptrValue(writer->GetObjectTags(this)); |
| 2214 | 2215 |
| 2215 // Write out all the other fields. | 2216 // Write out all the other fields. |
| 2216 writer->Write<RawObject*>(ptr()->key_); | 2217 writer->Write<RawObject*>(ptr()->key_); |
| 2217 writer->Write<RawObject*>(ptr()->value_); | 2218 writer->Write<RawObject*>(ptr()->value_); |
| 2218 } | 2219 } |
| 2219 | 2220 |
| 2220 } // namespace dart | 2221 } // namespace dart |
| OLD | NEW |