commit | fe2b972f0af7d139324691b248572df1bbd79e5a | [log] [tgz] |
---|---|---|
author | Evgeny Eltsin <eaeltsin@google.com> | Wed Oct 20 15:24:22 2010 |
committer | Evgeny Eltsin <eaeltsin@google.com> | Mon Nov 22 17:14:01 2010 |
tree | 00e4ed834ae1dd686b74f742916395ff56f351df | |
parent | 6ab88a6ce02bd7dbd1126bde881762616c2f54da [diff] |
[gcc] Add clobber FLAGS_REG to NaCl indirect jumps Compiler must know that NaCl indirect jump clobbers FLAGS register. For call and return this is probably not important, as FLAGS is always clobbered by call. For computed goto and switch, this IS important, so added explicit clobber. TEST=very hard to reproduce, we only suspect this bug was the reason for LLVM miscompilation. BUG= Review URL: http://codereview.chromium.org/3892003