summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-07-03 16:11:34 +0000
committerDuncan Sands <baldrick@free.fr>2009-07-03 16:11:34 +0000
commitf7f2d30bb8b206ea2606f163c3310a5db9e36462 (patch)
treeec1f2dd54626344a721888377c0344e25d31b147
parent10ac96b276fbd5208494a1d5b3c215d7eaa62a9f (diff)
downloadexternal_llvm-f7f2d30bb8b206ea2606f163c3310a5db9e36462.zip
external_llvm-f7f2d30bb8b206ea2606f163c3310a5db9e36462.tar.gz
external_llvm-f7f2d30bb8b206ea2606f163c3310a5db9e36462.tar.bz2
Silence a warning when assertions are turned off.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74778 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/PIC16/PIC16.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/PIC16/PIC16.h b/lib/Target/PIC16/PIC16.h
index d22356d..7940648 100644
--- a/lib/Target/PIC16/PIC16.h
+++ b/lib/Target/PIC16/PIC16.h
@@ -151,6 +151,7 @@ namespace PIC16CC {
return STATIC_LOCAL;
assert (0 && "Could not determine Symbol's tag");
+ return PREFIX_SYMBOL; // Silence warning when assertions are turned off.
}
// addPrefix - add prefix symbol to a name if there isn't one already.