Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index bec9962f481dcff3f5bc17b25fdd8021cc55cc83..eda1867e096360ce489da2c5fdb57c2cfcb38fe3 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -185,6 +185,9 @@ void MacroAssembler::Drop(int count, Condition cond) { |
} |
} |
+void MacroAssembler::Drop(Register count, Condition cond) { |
+ add(sp, sp, Operand(count, LSL, kPointerSizeLog2), LeaveCC, cond); |
+} |
void MacroAssembler::Ret(int drop, Condition cond) { |
Drop(drop, cond); |