| Index: runtime/vm/object.cc
|
| diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
|
| index f87a9f566fcb524c3d6f0bd973b858e0216c1fdd..cf5a22e0ca8c6b82a797fb758061182dce51b8d8 100644
|
| --- a/runtime/vm/object.cc
|
| +++ b/runtime/vm/object.cc
|
| @@ -12408,6 +12408,12 @@ bool AbstractType::IsFloat32x4Type() const {
|
| }
|
|
|
|
|
| +bool AbstractType::IsFloat64x2Type() const {
|
| + return HasResolvedTypeClass() &&
|
| + (type_class() == Type::Handle(Type::Float64x2()).type_class());
|
| +}
|
| +
|
| +
|
| bool AbstractType::IsInt32x4Type() const {
|
| return HasResolvedTypeClass() &&
|
| (type_class() == Type::Handle(Type::Int32x4()).type_class());
|
| @@ -12576,6 +12582,11 @@ RawType* Type::Float32x4() {
|
| }
|
|
|
|
|
| +RawType* Type::Float64x2() {
|
| + return Isolate::Current()->object_store()->float64x2_type();
|
| +}
|
| +
|
| +
|
| RawType* Type::Int32x4() {
|
| return Isolate::Current()->object_store()->int32x4_type();
|
| }
|
|
|