Index: src/ic.cc |
diff --git a/src/ic.cc b/src/ic.cc |
index c22f3c17d095af80825c45981b708c3a3ecc1177..3138f7b533d63a9268aaf0e4dacb3a342187259a 100644 |
--- a/src/ic.cc |
+++ b/src/ic.cc |
@@ -590,7 +590,8 @@ void CallICBase::ReceiverToObjectIfRequired(Handle<Object> callee, |
} |
// And only wrap string, number or boolean. |
- if (object->IsString() || object->IsNumber() || object->IsBoolean()) { |
+ if (object->IsString() || object->IsNumber() || object->IsBoolean() || |
+ object->IsFloat32x4() || object->IsInt32x4()) { |
// Change the receiver to the result of calling ToObject on it. |
const int argc = this->target()->arguments_count(); |
StackFrameLocator locator(isolate()); |