diff options
author | Lang Hames <lhames@gmail.com> | 2012-02-14 04:45:49 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2012-02-14 04:45:49 +0000 |
commit | 0796134bde31f6d58d077f556fd08ca3734a9e6e (patch) | |
tree | 00aefe9bf70d8a5736cb9f3500bbb02145422020 /lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
parent | cd339b71ff23327f2ef6a4c964ff3ceea20733bf (diff) | |
download | external_llvm-0796134bde31f6d58d077f556fd08ca3734a9e6e.zip external_llvm-0796134bde31f6d58d077f556fd08ca3734a9e6e.tar.gz external_llvm-0796134bde31f6d58d077f556fd08ca3734a9e6e.tar.bz2 |
Rename getExceptionAddressRegister() to getExceptionPointerRegister() for consistency with setExceptionPointerRegister(...).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150460 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp index 1cf4dec..524a91a 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp @@ -1853,7 +1853,7 @@ void SelectionDAGBuilder::visitLandingPad(const LandingPadInst &LP) { // If there aren't registers to copy the values into (e.g., during SjLj // exceptions), then don't bother to create these DAG nodes. - if (TLI.getExceptionAddressRegister() == 0 && + if (TLI.getExceptionPointerRegister() == 0 && TLI.getExceptionSelectorRegister() == 0) return; |