Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index d9ba5c2b5c2cede0977c2364ab75ac0e7f4b1b30..2b36aeb06a4ef80b180c7570ae48479ca7dd8c75 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -2044,7 +2044,8 @@ void MacroAssembler::TryGetFunctionPrototype(Register function, |
FieldMemOperand(function, JSFunction::kSharedFunctionInfoOffset)); |
ldr(scratch, |
FieldMemOperand(scratch, SharedFunctionInfo::kCompilerHintsOffset)); |
- tst(scratch, Operand(1 << SharedFunctionInfo::kBoundFunction)); |
+ tst(scratch, |
+ Operand(Smi::FromInt(1 << SharedFunctionInfo::kBoundFunction))); |
b(ne, miss); |
} |