Ignore stack adjustment for ebp-based variables.
The TargetX8632 class maintains a "current stack adjustment" during a push sequence, so that pushing or otherwise accessing stack locations during a function arg push sequence can use the right esp offset.
This adjustment should only be used for esp-based frames, but it was being used for ebp-based frames as well, causing the wrong stack-based arguments to be pushed.
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3878
R=jvoung@chromium.org
Review URL: https://codereview.chromium.org/331743002
Showing
tests_lit/llvm2ice_tests/ebp_args.ll
0 → 100644
Please
register
or
sign in
to comment