| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 #ifndef VM_DEFERRED_OBJECTS_H_ | 5 #ifndef VM_DEFERRED_OBJECTS_H_ |
| 6 #define VM_DEFERRED_OBJECTS_H_ | 6 #define VM_DEFERRED_OBJECTS_H_ |
| 7 | 7 |
| 8 #include "platform/globals.h" | 8 #include "platform/globals.h" |
| 9 | 9 |
| 10 namespace dart { | 10 namespace dart { |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 | 80 |
| 81 simd128_value_t value() const { return value_; } | 81 simd128_value_t value() const { return value_; } |
| 82 | 82 |
| 83 private: | 83 private: |
| 84 const simd128_value_t value_; | 84 const simd128_value_t value_; |
| 85 | 85 |
| 86 DISALLOW_COPY_AND_ASSIGN(DeferredFloat32x4); | 86 DISALLOW_COPY_AND_ASSIGN(DeferredFloat32x4); |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 | 89 |
| 90 class DeferredFloat64x2 : public DeferredSlot { |
| 91 public: |
| 92 DeferredFloat64x2(simd128_value_t value, RawInstance** slot, |
| 93 DeferredSlot* next) |
| 94 : DeferredSlot(slot, next), value_(value) { } |
| 95 |
| 96 virtual void Materialize(DeoptContext* deopt_context); |
| 97 |
| 98 simd128_value_t value() const { return value_; } |
| 99 |
| 100 private: |
| 101 const simd128_value_t value_; |
| 102 |
| 103 DISALLOW_COPY_AND_ASSIGN(DeferredFloat64x2); |
| 104 }; |
| 105 |
| 106 |
| 90 class DeferredInt32x4 : public DeferredSlot { | 107 class DeferredInt32x4 : public DeferredSlot { |
| 91 public: | 108 public: |
| 92 DeferredInt32x4(simd128_value_t value, RawInstance** slot, | 109 DeferredInt32x4(simd128_value_t value, RawInstance** slot, |
| 93 DeferredSlot* next) | 110 DeferredSlot* next) |
| 94 : DeferredSlot(slot, next), value_(value) { } | 111 : DeferredSlot(slot, next), value_(value) { } |
| 95 | 112 |
| 96 virtual void Materialize(DeoptContext* deopt_context); | 113 virtual void Materialize(DeoptContext* deopt_context); |
| 97 | 114 |
| 98 simd128_value_t value() const { return value_; } | 115 simd128_value_t value() const { return value_; } |
| 99 | 116 |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 | 196 |
| 180 // Object materialized from this description. | 197 // Object materialized from this description. |
| 181 const Instance* object_; | 198 const Instance* object_; |
| 182 | 199 |
| 183 DISALLOW_COPY_AND_ASSIGN(DeferredObject); | 200 DISALLOW_COPY_AND_ASSIGN(DeferredObject); |
| 184 }; | 201 }; |
| 185 | 202 |
| 186 } // namespace dart | 203 } // namespace dart |
| 187 | 204 |
| 188 #endif // VM_DEFERRED_OBJECTS_H_ | 205 #endif // VM_DEFERRED_OBJECTS_H_ |
| OLD | NEW |