evil hack to coerce external users (projects)
authorGabor Greif <ggreif@gmail.com>
Thu, 1 Jul 2010 21:46:41 +0000 (21:46 +0000)
committerGabor Greif <ggreif@gmail.com>
Thu, 1 Jul 2010 21:46:41 +0000 (21:46 +0000)
commit0f66d4be04787906fb3a40ff572bc8c16a41bb96
tree23494011a4c51ce76a37009478fb9c302fad1206
parent7fb231cbecb18634ef4af8d87ab82b6987f664d8
evil hack to coerce external users (projects)
to update their code to high-level interfaces

If you get compile errors in your project
please update your code according to the
comments.

This is a re-commit of r107396 which causes
compile errors for the indicated usage patterns
instead of link errors (which are less easy to
fix because of missing source location).

If you get compile errors please perform
following functionally equivalent transformations:
  - getOperand(0)  --->  getCalledValue()
  - setOperand(0, V)  --->  setCalledFunction(V)

This will make your code more future-proof
and avoid potentially hard-to-debug bugs.

please refer to this thread on llvm-dev:

<http://groups.google.com/group/llvm-dev/browse_thread/thread/64650cf343b28271>

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