From 9828a49b11cd790a96a70228d1c6b7947b584501 Mon Sep 17 00:00:00 2001 From: "verwaest@chromium.org" Date: Wed, 29 May 2013 12:48:06 +0000 Subject: [PATCH] Fix AccessArgumentsAt on ARM. Use register for index. R=jkummerow@chromium.org Review URL: https://chromiumcodereview.appspot.com/15690009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14885 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/arm/lithium-arm.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc index 30f9bb7a1d..c1f24c9ec6 100644 --- a/src/arm/lithium-arm.cc +++ b/src/arm/lithium-arm.cc @@ -2485,7 +2485,7 @@ LInstruction* LChunkBuilder::DoAccessArgumentsAt(HAccessArgumentsAt* instr) { index = UseOrConstant(instr->index()); } else { length = UseTempRegister(instr->length()); - index = Use(instr->index()); + index = UseRegisterAtStart(instr->index()); } return DefineAsRegister(new(zone()) LAccessArgumentsAt(args, length, index)); }