Index: src/arm/builtins-arm.cc |
diff --git a/src/arm/builtins-arm.cc b/src/arm/builtins-arm.cc |
index b461b45a57384d1c81c2a0013503e253a323bc5b..6aa02ac308ffb49d3d3840cfd8b40ee52cddf35a 100644 |
--- a/src/arm/builtins-arm.cc |
+++ b/src/arm/builtins-arm.cc |
@@ -1297,7 +1297,7 @@ void Builtins::Generate_FunctionCall(MacroAssembler* masm) { |
// 1. Make sure we have at least one argument. |
// r0: actual number of arguments |
{ Label done; |
- __ tst(r0, Operand(r0)); |
+ __ cmp(r0, Operand(0)); |
__ b(ne, &done); |
__ LoadRoot(r2, Heap::kUndefinedValueRootIndex); |
__ push(r2); |