Index: src/x64/fast-codegen-x64.cc |
diff --git a/src/x64/fast-codegen-x64.cc b/src/x64/fast-codegen-x64.cc |
index fe61ff73f5b92ba6471397e4d02134c3f67f0d57..1af7685544991170055d9fd1c5146283930d7b70 100644 |
--- a/src/x64/fast-codegen-x64.cc |
+++ b/src/x64/fast-codegen-x64.cc |
@@ -165,13 +165,9 @@ void FastCodeGenerator::EmitBitOr() { |
} else { |
// Preserve the destination operand in a scratch register in case of |
// bailout. |
- Label done; |
__ movq(scratch0(), destination()); |
__ or_(destination(), other_accumulator(destination())); |
- __ JumpIfSmi(destination(), &done); |
- __ movq(destination(), scratch0()); |
- __ jmp(bailout()); |
- __ bind(&done); |
+ __ JumpIfNotSmi(destination(), bailout()); |
} |