Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(250)

Side by Side Diff: runtime/vm/deferred_objects.h

Issue 172653002: Unbox/Box Float64x2 and inline typed array loads and stores (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/vm/deferred_objects.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/deferred_objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698