ARM/ARM64: Improve frame entry/exit codegen.
am: 1a225a76ee

Change-Id: I3084489415338dca00dd62c044ade2da029c7052