| Index: src/full-codegen/arm/full-codegen-arm.cc
|
| diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc
|
| index 16bd8bc27d2109dcbfb63e546978829f4c31ba00..4cedd67f850c5270f55d92b5027cb520aea60bdc 100644
|
| --- a/src/full-codegen/arm/full-codegen-arm.cc
|
| +++ b/src/full-codegen/arm/full-codegen-arm.cc
|
| @@ -5077,6 +5077,30 @@ void FullCodeGenerator::EmitLiteralCompareTypeof(Expression* expr,
|
| __ JumpIfSmi(r0, if_false);
|
| __ CompareObjectType(r0, r0, r1, FLOAT32X4_TYPE);
|
| Split(eq, if_true, if_false, fall_through);
|
| + } else if (String::Equals(check, factory->int32x4_string())) {
|
| + __ JumpIfSmi(r0, if_false);
|
| + __ CompareObjectType(r0, r0, r1, INT32X4_TYPE);
|
| + Split(eq, if_true, if_false, fall_through);
|
| + } else if (String::Equals(check, factory->bool32x4_string())) {
|
| + __ JumpIfSmi(r0, if_false);
|
| + __ CompareObjectType(r0, r0, r1, BOOL32X4_TYPE);
|
| + Split(eq, if_true, if_false, fall_through);
|
| + } else if (String::Equals(check, factory->int16x8_string())) {
|
| + __ JumpIfSmi(r0, if_false);
|
| + __ CompareObjectType(r0, r0, r1, INT16X8_TYPE);
|
| + Split(eq, if_true, if_false, fall_through);
|
| + } else if (String::Equals(check, factory->bool16x8_string())) {
|
| + __ JumpIfSmi(r0, if_false);
|
| + __ CompareObjectType(r0, r0, r1, BOOL16X8_TYPE);
|
| + Split(eq, if_true, if_false, fall_through);
|
| + } else if (String::Equals(check, factory->int8x16_string())) {
|
| + __ JumpIfSmi(r0, if_false);
|
| + __ CompareObjectType(r0, r0, r1, INT8X16_TYPE);
|
| + Split(eq, if_true, if_false, fall_through);
|
| + } else if (String::Equals(check, factory->bool8x16_string())) {
|
| + __ JumpIfSmi(r0, if_false);
|
| + __ CompareObjectType(r0, r0, r1, BOOL8X16_TYPE);
|
| + Split(eq, if_true, if_false, fall_through);
|
| } else if (String::Equals(check, factory->boolean_string())) {
|
| __ CompareRoot(r0, Heap::kTrueValueRootIndex);
|
| __ b(eq, if_true);
|
|
|