Index: src/x64/macro-assembler-x64.h |
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
index 7a90dd0175e5285669c086fba76ad450d568106b..a294ad678360e9ea2a7b95bbc7f15bfbce1b02f1 100644 |
--- a/src/x64/macro-assembler-x64.h |
+++ b/src/x64/macro-assembler-x64.h |
@@ -284,7 +284,9 @@ class MacroAssembler: public Assembler { |
Condition CheckBothPositiveSmi(Register first, Register second); |
// Are either value a tagged smi. |
- Condition CheckEitherSmi(Register first, Register second); |
+ Condition CheckEitherSmi(Register first, |
+ Register second, |
+ Register scratch = kScratchRegister); |
// Is the value the minimum smi value (since we are using |
// two's complement numbers, negating the value is known to yield |