Change getConstantValue to throw an exception on error, not return null
authorChris Lattner <sabre@nondot.org>
Thu, 9 Oct 2003 20:41:16 +0000 (20:41 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 9 Oct 2003 20:41:16 +0000 (20:41 +0000)
commitc9456ca64c102516744deb4ba9b0790aea6b5c0a
treed555ac1d251e87a5d80eceaa5b74055fb2da749e
parent1bc33a5227d6d4b9e1da6fbde1c8369921e3fba5
Change getConstantValue to throw an exception on error, not return null

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8988 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Bytecode/Reader/ConstantReader.cpp
lib/Bytecode/Reader/Reader.cpp