commit | b893e797a57ccfe589eae8b76f442a1c0e3e3fc2 | [log] [tgz] |
---|---|---|
author | Quentin Colombet <qcolombet@apple.com> | Sat Mar 11 00:28:33 2017 +0000 |
committer | Quentin Colombet <qcolombet@apple.com> | Sat Mar 11 00:28:33 2017 +0000 |
tree | 862239ab6816f95c8dbe6dca9677f6b32576f4b1 | |
parent | f99709a2dff295b1d82be44bc69f9ca0d14bdd76 [diff] |
[IRTranslator] Simplify error handling for translating constants. NFC. We don't need to check whether the fallback path is enabled to return false. Just do that all the time on error cases, the caller knows (or at least should know!) how to handle the failing case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297535 91177308-0d34-0410-b5e6-96231b3b80d8