Index: src/full-codegen/x87/full-codegen-x87.cc |
diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc |
index 13bb7305e1744792ad7384cf7e2ace8a181ef5d8..5ea5347642c71031bb2415b1d834dc5a4316ea2d 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -3679,7 +3679,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); |
@@ -3698,7 +3698,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) \ |
@@ -3812,7 +3812,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); |