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 d1ab3509ba4226802032fd82f75c8b2386ab5eff..a1da615178ecb87ce8b5af32963428e89eb3c461 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -3687,7 +3687,7 @@ void FullCodeGenerator::EmitLiteralCompareTypeof(Expression* expr, |
// Check for undetectable objects => true. |
__ mov(edx, FieldOperand(eax, HeapObject::kMapOffset)); |
__ test_b(FieldOperand(edx, Map::kBitFieldOffset), |
- 1 << Map::kIsUndetectable); |
+ Immediate(1 << Map::kIsUndetectable)); |
Split(not_zero, if_true, if_false, fall_through); |
} else if (String::Equals(check, factory->function_string())) { |
__ JumpIfSmi(eax, if_false); |
@@ -3706,7 +3706,7 @@ void FullCodeGenerator::EmitLiteralCompareTypeof(Expression* expr, |
__ j(below, if_false); |
// Check for callable or undetectable objects => false. |
__ test_b(FieldOperand(edx, Map::kBitFieldOffset), |
- (1 << Map::kIsCallable) | (1 << Map::kIsUndetectable)); |
+ Immediate((1 << Map::kIsCallable) | (1 << Map::kIsUndetectable))); |
Split(zero, if_true, if_false, fall_through); |
// clang-format off |
#define SIMD128_TYPE(TYPE, Type, type, lane_count, lane_type) \ |
@@ -3820,7 +3820,7 @@ void FullCodeGenerator::EmitLiteralCompareNil(CompareOperation* expr, |
__ JumpIfSmi(eax, if_false); |
__ mov(eax, FieldOperand(eax, HeapObject::kMapOffset)); |
__ test_b(FieldOperand(eax, Map::kBitFieldOffset), |
- 1 << Map::kIsUndetectable); |
+ Immediate(1 << Map::kIsUndetectable)); |
Split(not_zero, if_true, if_false, fall_through); |
} |
context()->Plug(if_true, if_false); |