Index: src/x64/macro-assembler-x64.h |
=================================================================== |
--- src/x64/macro-assembler-x64.h (revision 4688) |
+++ src/x64/macro-assembler-x64.h (working copy) |
@@ -306,6 +306,10 @@ |
// No overflow testing on the result is done. |
void SmiAddConstant(Register dst, Register src, Smi* constant); |
+ // Add an integer constant to a tagged smi, giving a tagged smi as result. |
+ // No overflow testing on the result is done. |
+ void SmiAddConstant(const Operand& dst, Smi* constant); |
+ |
// Add an integer constant to a tagged smi, giving a tagged smi as result, |
// or jumping to a label if the result cannot be represented by a smi. |
void SmiAddConstant(Register dst, |
@@ -349,7 +353,7 @@ |
void SmiSub(Register dst, |
Register src1, |
- Operand const& src2, |
+ const Operand& src2, |
Label* on_not_smi_result); |
// Multiplies smi values and return the result as a smi, |