aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-05-28 00:13:01 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-05-28 00:13:01 +0000
commit836f7db2cc9ee29371963dee1e2980bbf2be9d1a (patch)
treec7757ab36805539cfce9a56782237cf6e41e7d6a /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent1d553a2cc4287220ec816cf1b920d7a69d3e7c9d (diff)
downloadllvm-836f7db2cc9ee29371963dee1e2980bbf2be9d1a.zip
llvm-836f7db2cc9ee29371963dee1e2980bbf2be9d1a.tar.gz
llvm-836f7db2cc9ee29371963dee1e2980bbf2be9d1a.tar.bz2
Fix the root cause of the bootstrap failure:
There was no way to check if a given register/mode pair was valid. We now return an error code (-2) instead of asserting. If anyone thinks that an assert at this point is really needed, we can autogen a hasValidDwarfRegNum instead. llvm-svn: 132236
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions