aboutsummaryrefslogtreecommitdiffstats
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
commit42d011f4c7a0c4d03c8fb95d01f2e9ada71bfd1a (patch)
treeec1f2dd54626344a721888377c0344e25d31b147
parent7e29dad8ec14d02c76fcd832ef80326fbb36fed2 (diff)
downloadexternal_llvm-42d011f4c7a0c4d03c8fb95d01f2e9ada71bfd1a.zip
external_llvm-42d011f4c7a0c4d03c8fb95d01f2e9ada71bfd1a.tar.gz
external_llvm-42d011f4c7a0c4d03c8fb95d01f2e9ada71bfd1a.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.