Index: src/types.cc |
diff --git a/src/types.cc b/src/types.cc |
index 485ba885187364ed2b99098865eec3197b2c47dc..6d7aac732b300b6d1a52f7ef4270ea7969a07340 100644 |
--- a/src/types.cc |
+++ b/src/types.cc |
@@ -180,6 +180,10 @@ int Type::LubBitset(i::Map* map) { |
return kOddball; |
case HEAP_NUMBER_TYPE: |
return kDouble; |
+ case FLOAT32x4_TYPE: |
+ return kFloat32x4; |
+ case INT32x4_TYPE: |
+ return kInt32x4; |
case JS_VALUE_TYPE: |
case JS_DATE_TYPE: |
case JS_OBJECT_TYPE: |
@@ -521,6 +525,8 @@ Representation Representation::FromType(Handle<Type> type) { |
if (type->Is(Type::Smi())) return Representation::Smi(); |
if (type->Is(Type::Signed32())) return Representation::Integer32(); |
if (type->Is(Type::Number())) return Representation::Double(); |
+ if (type->Is(Type::Float32x4())) return Representation::Float32x4(); |
+ if (type->Is(Type::Int32x4())) return Representation::Int32x4(); |
return Representation::Tagged(); |
} |