Ensures allocas are at the start of entry block.

Allocas  were not created in the entry block. Now we force allocas to be
created in the entry block and they are the first instructions in this block.
In the Portable, they hold the shadow frame.

The LLVM code generator optimizes allocas in the entry block by placing them in
the static stack frame. This prevents from using a register as a frame pointer
to access them.

Hopefully, this might reduce code size since we use fewer instructions to
allocate/deallocate stack in prologue/epilogue.

Change-Id: I4424481c886247a59a85e0ea507daf2c086ee3b2
1 file changed
tree: 77e1d328b83b80c1333714bc9655f6ddd020ec2e
  1. build/
  2. jdwpspy/
  3. src/
  4. test/
  5. tools/
  6. .gitignore
  7. Android.mk