summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2011-09-10 01:42:07 +0000
committerRichard Trieu <rtrieu@google.com>2011-09-10 01:42:07 +0000
commit74996f2a798d8ba39f35645f263fce629655260b (patch)
tree41f21b78ff61c5b03e103586e752fda0fe75b05e /llvm/lib/ExecutionEngine
parente5e7e6bc84a5d0b2ef68163640c09c303958649d (diff)
downloadbcm5719-llvm-74996f2a798d8ba39f35645f263fce629655260b.tar.gz
bcm5719-llvm-74996f2a798d8ba39f35645f263fce629655260b.zip
Fix the asserts in lib/Target/X86/X86ELFWriterInfo.cpp and
lib/ExecutionEngine/MCJIT/MCJIT.cpp from: assert("error"); to: assert(0 && "error"); llvm-svn: 139456
Diffstat (limited to 'llvm/lib/ExecutionEngine')
-rw-r--r--llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp b/llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp
index 561c1504b15..6b8a388186c 100644
--- a/llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp
+++ b/llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp
@@ -216,6 +216,6 @@ GenericValue MCJIT::runFunction(Function *F,
}
}
- assert("Full-featured argument passing not supported yet!");
+ assert(0 && "Full-featured argument passing not supported yet!");
return GenericValue();
}
OpenPOWER on IntegriCloud