diff options
author | Arnold Schwaighofer <aschwaighofer@apple.com> | 2016-10-11 19:49:29 +0000 |
---|---|---|
committer | Arnold Schwaighofer <aschwaighofer@apple.com> | 2016-10-11 19:49:29 +0000 |
commit | 9103e268cfd8ab4904d50cc0b99c405776f4f5e0 (patch) | |
tree | 0c976c4e7fe2f51b3c503cf55de3d90610d634ec /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | 9f66f8277d24f93a567f9c206210503e683d7301 (diff) | |
download | bcm5719-llvm-9103e268cfd8ab4904d50cc0b99c405776f4f5e0.tar.gz bcm5719-llvm-9103e268cfd8ab4904d50cc0b99c405776f4f5e0.zip |
Silence -Wunused-but-set-variable warning
llvm-svn: 283927
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 317e7e05535..97a2d472a16 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -1168,6 +1168,7 @@ static void setupSwiftErrorVals(const Function &Fn, const TargetLowering *TLI, if (AI->hasSwiftErrorAttr()) { assert(!HaveSeenSwiftErrorArg && "Must have only one swifterror parameter"); + (void)HaveSeenSwiftErrorArg; // silence warning. HaveSeenSwiftErrorArg = true; FuncInfo->SwiftErrorArg = &*AI; FuncInfo->SwiftErrorVals.push_back(&*AI); |