Introduce a new technique for merging BasicBlock with Instruction sentinel by superpo...
authorGabor Greif <ggreif@gmail.com>
Fri, 27 Feb 2009 08:41:37 +0000 (08:41 +0000)
committerGabor Greif <ggreif@gmail.com>
Fri, 27 Feb 2009 08:41:37 +0000 (08:41 +0000)
commit0a0e68a7eac0513505aff3079e2d5d6864e51895
treec54400d09f9606629635d0a926cb5999440ca74c
parent8b3894cdfd9784725ec33755eb270f12b0e74f0f
Introduce a new technique for merging BasicBlock with Instruction sentinel by superposition.
This looks dangerous, but isn't because the sentinel is accessed in special way only,
namely the Next and Prev fields of it, and these are guaranteed to exist.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65626 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/ilist_node.h
include/llvm/BasicBlock.h
lib/VMCore/BasicBlock.cpp