diff options
| author | 2012-02-24 13:35:44 -0800 | |
|---|---|---|
| committer | 2012-02-24 13:35:44 -0800 | |
| commit | 80c4d575cb217f30460e8df210185f6282ec2727 (patch) | |
| tree | 55afb84cb8e69bc7fed063c95f40e59bf064818a /src/compiler/codegen/CompilerCodegen.h | |
| parent | 6b00e189defc8a6b1acbd736c65d46bbfaaa2cd6 (diff) | |
[Compiler] Exit-path bug fix
Surprised that we haven't run into this before. The exit code for
a method involves stripping the frame. For frame sizes < 1024 this
can be accomplished with an add sp,#imm. For larger frames we need
to materialize the frame size in a temp register and then do a
register to register add.
The exit path code was failing to ensure that r0/r1 were not used
as temps in the large frame case - otherwise the return value could
be clobbered.
Change-Id: If2618e9522fb10597f0f8c8e8afffd20d73b5d37
Diffstat (limited to 'src/compiler/codegen/CompilerCodegen.h')
0 files changed, 0 insertions, 0 deletions