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

Unified Diff: runtime/vm/raw_object.cc

Issue 12907023: Really remove SIMD types from dart:scalarlist. Fixes build. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Really remove SIMD types from dart:scalarlist. Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/raw_object.h ('k') | runtime/vm/raw_object_snapshot.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/raw_object.cc
diff --git a/runtime/vm/raw_object.cc b/runtime/vm/raw_object.cc
index 10afe36801f0024f9ae72c6038919ee65a41ca62..130e71731e33033fc75e8124de785f5d6afd606f 100644
--- a/runtime/vm/raw_object.cc
+++ b/runtime/vm/raw_object.cc
@@ -182,13 +182,6 @@ intptr_t RawObject::SizeFromClass() const {
instance_size = Uint64Array::InstanceSize(byte_array_length);
break;
}
- case kFloat32x4ArrayCid: {
- const RawFloat32x4Array* raw_byte_array =
- reinterpret_cast<const RawFloat32x4Array*>(this);
- intptr_t byte_array_length = Smi::Value(raw_byte_array->ptr()->length_);
- instance_size = Float32x4Array::InstanceSize(byte_array_length);
- break;
- }
case kFloat32ArrayCid: {
const RawFloat32Array* raw_byte_array =
reinterpret_cast<const RawFloat32Array*>(this);
@@ -934,16 +927,6 @@ intptr_t RawUint64Array::VisitUint64ArrayPointers(
return Uint64Array::InstanceSize(length);
}
-
-intptr_t RawFloat32x4Array::VisitFloat32x4ArrayPointers(
- RawFloat32x4Array *raw_obj, ObjectPointerVisitor* visitor) {
- // Make sure that we got here with the tagged pointer as this.
- ASSERT(raw_obj->IsHeapObject());
- intptr_t length = Smi::Value(raw_obj->ptr()->length_);
- visitor->VisitPointers(raw_obj->from(), raw_obj->to());
- return Float32x4Array::InstanceSize(length);
-}
-
intptr_t RawFloat32Array::VisitFloat32ArrayPointers(
RawFloat32Array *raw_obj, ObjectPointerVisitor* visitor) {
// Make sure that we got here with the tagged pointer as this.
@@ -1045,15 +1028,6 @@ intptr_t RawExternalUint64Array::VisitExternalUint64ArrayPointers(
}
-intptr_t RawExternalFloat32x4Array::VisitExternalFloat32x4ArrayPointers(
- RawExternalFloat32x4Array* raw_obj, ObjectPointerVisitor* visitor) {
- // Make sure that we got here with the tagged pointer as this.
- ASSERT(raw_obj->IsHeapObject());
- visitor->VisitPointers(raw_obj->from(), raw_obj->to());
- return ExternalFloat32x4Array::InstanceSize();
-}
-
-
intptr_t RawExternalFloat32Array::VisitExternalFloat32ArrayPointers(
RawExternalFloat32Array* raw_obj, ObjectPointerVisitor* visitor) {
// Make sure that we got here with the tagged pointer as this.
« no previous file with comments | « runtime/vm/raw_object.h ('k') | runtime/vm/raw_object_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698