Index: src/arm64/macro-assembler-arm64-inl.h |
diff --git a/src/arm64/macro-assembler-arm64-inl.h b/src/arm64/macro-assembler-arm64-inl.h |
index b5e1824d2eb4387a812c8aba620757fde3466ea3..0f8a18d9cf124a662b7750cc7249287bab6d7021 100644 |
--- a/src/arm64/macro-assembler-arm64-inl.h |
+++ b/src/arm64/macro-assembler-arm64-inl.h |
@@ -1350,6 +1350,18 @@ void MacroAssembler::SmiUntagToFloat(FPRegister dst, |
} |
+void MacroAssembler::SmiTagAndPush(Register src) { |
+ STATIC_ASSERT((kSmiShift == 32) && (kSmiTag == 0)); |
+ Push(src.W(), wzr); |
+} |
+ |
+ |
+void MacroAssembler::SmiTagAndPush(Register src1, Register src2) { |
+ STATIC_ASSERT((kSmiShift == 32) && (kSmiTag == 0)); |
+ Push(src1.W(), wzr, src2.W(), wzr); |
+} |
+ |
+ |
void MacroAssembler::JumpIfSmi(Register value, |
Label* smi_label, |
Label* not_smi_label) { |