Commit d82c42d1 authored by Hans Wennborg's avatar Hans Wennborg
Browse files

Merge r168147 from trunk:

  Constant::IsThreadDependent(): Use dyn_cast<Constant> instead of cast

  It turns out that the operands of a Constant are not always themselves
  Constant. For example, one of the operands of BlockAddress is
  BasicBlock, which is not a Constant.

  This should fix the dragonegg-x86_64-linux-gcc-4.6-test build which
  broke in r168037.

llvm-svn: 168193
parent ba61874c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment