OSDN Git Service

Restore Method* following invoke with > 20 args
authorbuzbee <buzbee@google.com>
Thu, 22 Sep 2011 01:28:43 +0000 (18:28 -0700)
committerbuzbee <buzbee@google.com>
Thu, 22 Sep 2011 01:28:43 +0000 (18:28 -0700)
commit010cffc1b8d64a4afc1943729642477a16e9c3fb
tree58a953afdf3b41372b367bc9a7a6de1b908ad2d4
parentc6766ed17d27417bfce62c31b342b3faa47ada5d
Restore Method* following invoke with > 20 args

In the case of a huge number of arguments, the invoke setup code
will call memcpy(), which trashes the caller saves.  Need to restore
Method*, which had already been loaded into arg0/r0.

Change-Id: I3a9b74132fb407263afef2a103ccac071ea6a653
src/compiler/codegen/arm/MethodCodegenDriver.cc