diff options
author | Derek Schuff <dschuff@chromium.org> | 2013-02-12 10:10:18 -0800 |
---|---|---|
committer | Derek Schuff <dschuff@chromium.org> | 2013-02-12 10:10:18 -0800 |
commit | 421e517aba7ed185ca3aaefcb495a004ae10b72d (patch) | |
tree | 8ef7ec2632bd8a396dbbd5560e9fcba6605c626e /lib/CodeGen/LiveStackAnalysis.cpp | |
parent | 10614352cb0e3c4ea03de74d5e3337ab2223a018 (diff) |
This CL supersedes the previous 2 outstanding CLs.
1) Remove the ABIVerifyErrors class since it was just a wrapper with no real functionality. Replace with a simple string ostream for now. If in the future we want to have more intelligent error handling, we can come up with something that does what we actually decide we want.
2) When printing type errors in initializers, just print the Type that was invalid, rather than the whole initializer. This is implemented by having checkTypesInValue return the Type that was invalid, rather than just a boolean.
3) Check the type of each instruction (this is just to make sure it works from the function pass). Do not, however, make the passes dependent as in the previous CL (function passes cannot depend on module passes, but there are no checks for this, and opt does not enforce the dependence, and when llc tries to enforce it, very bad things happen)
2) Style cleanup to match LLVM style.
Sorry for the multiple changes in one CL, hopefully it's still small enough to be reviewable.
BUG=
Review URL: https://codereview.chromium.org/12224109
Diffstat (limited to 'lib/CodeGen/LiveStackAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions