| Index: src/full-codegen/ia32/full-codegen-ia32.cc
|
| diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc
|
| index 6652c92e9fd2f0a9dbdf1d48bab44a3ae11031bb..003b9b17d36b2c7c21a47adaa6bfb4a8a7463c62 100644
|
| --- a/src/full-codegen/ia32/full-codegen-ia32.cc
|
| +++ b/src/full-codegen/ia32/full-codegen-ia32.cc
|
| @@ -5013,6 +5013,30 @@ void FullCodeGenerator::EmitLiteralCompareTypeof(Expression* expr,
|
| __ JumpIfSmi(eax, if_false);
|
| __ CmpObjectType(eax, FLOAT32X4_TYPE, edx);
|
| Split(equal, if_true, if_false, fall_through);
|
| + } else if (String::Equals(check, factory->int32x4_string())) {
|
| + __ JumpIfSmi(eax, if_false);
|
| + __ CmpObjectType(eax, INT32X4_TYPE, edx);
|
| + Split(equal, if_true, if_false, fall_through);
|
| + } else if (String::Equals(check, factory->bool32x4_string())) {
|
| + __ JumpIfSmi(eax, if_false);
|
| + __ CmpObjectType(eax, BOOL32X4_TYPE, edx);
|
| + Split(equal, if_true, if_false, fall_through);
|
| + } else if (String::Equals(check, factory->int16x8_string())) {
|
| + __ JumpIfSmi(eax, if_false);
|
| + __ CmpObjectType(eax, INT16X8_TYPE, edx);
|
| + Split(equal, if_true, if_false, fall_through);
|
| + } else if (String::Equals(check, factory->bool16x8_string())) {
|
| + __ JumpIfSmi(eax, if_false);
|
| + __ CmpObjectType(eax, BOOL16X8_TYPE, edx);
|
| + Split(equal, if_true, if_false, fall_through);
|
| + } else if (String::Equals(check, factory->int8x16_string())) {
|
| + __ JumpIfSmi(eax, if_false);
|
| + __ CmpObjectType(eax, INT8X16_TYPE, edx);
|
| + Split(equal, if_true, if_false, fall_through);
|
| + } else if (String::Equals(check, factory->bool8x16_string())) {
|
| + __ JumpIfSmi(eax, if_false);
|
| + __ CmpObjectType(eax, BOOL8X16_TYPE, edx);
|
| + Split(equal, if_true, if_false, fall_through);
|
| } else if (String::Equals(check, factory->boolean_string())) {
|
| __ cmp(eax, isolate()->factory()->true_value());
|
| __ j(equal, if_true);
|
|
|