summaryrefslogtreecommitdiff
path: root/include/llvm/Target/TargetJITInfo.h
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2008-10-26 04:26:33 +0000
committerOscar Fuentes <ofv@wanadoo.es>2008-10-26 04:26:33 +0000
commitac1cfa09d73923082ac7fd9bbd2c1f056bc02455 (patch)
tree35e35efaad66d1576906359236834604e7e8f992 /include/llvm/Target/TargetJITInfo.h
parent48ed0f59d5397c38baa0e4a0588e168b44e521ff (diff)
downloadllvm-ac1cfa09d73923082ac7fd9bbd2c1f056bc02455.tar.gz
llvm-ac1cfa09d73923082ac7fd9bbd2c1f056bc02455.tar.bz2
llvm-ac1cfa09d73923082ac7fd9bbd2c1f056bc02455.tar.xz
Return something (i.e. NULL) from an unimplemented virtual function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58183 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetJITInfo.h')
-rw-r--r--include/llvm/Target/TargetJITInfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetJITInfo.h b/include/llvm/Target/TargetJITInfo.h
index 81e4c87572..142f0efbd3 100644
--- a/include/llvm/Target/TargetJITInfo.h
+++ b/include/llvm/Target/TargetJITInfo.h
@@ -100,6 +100,7 @@ namespace llvm {
/// meaningful to the target.
virtual char* allocateThreadLocalMemory(size_t size) {
assert(0 && "This target does not implement thread local storage!");
+ return 0;
}
/// needsGOT - Allows a target to specify that it would like the