OSDN Git Service

new ReturnInst(BB) does not "do the right thing". Add an assert to catch it
authorChris Lattner <sabre@nondot.org>
Fri, 25 Jun 2004 23:06:57 +0000 (23:06 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 25 Jun 2004 23:06:57 +0000 (23:06 +0000)
commite056f5c8e20b2a44e71e8303c5fa183857e9b476
tree0594bd5db076efd846905f575d1c5cd353e74d2b
parentb8356b3ce2d1913d466ac4dc1812d7e2520527dd
new ReturnInst(BB) does not "do the right thing".  Add an assert to catch it
sooner rather than later.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14421 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/iTerminators.h