mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-25 04:55:50 +00:00
Add fixme.
llvm-svn: 107697
This commit is contained in:
parent
3139b75beb
commit
568037d823
@ -133,6 +133,7 @@ static const Function *getFunctionForValue(Value *V) {
|
|||||||
static const Function *assertLocalFunction(const MDNode *N) {
|
static const Function *assertLocalFunction(const MDNode *N) {
|
||||||
if (!N->isFunctionLocal()) return 0;
|
if (!N->isFunctionLocal()) return 0;
|
||||||
|
|
||||||
|
// FIXME: This does not handle cyclic function local metadata.
|
||||||
const Function *F = 0, *NewF = 0;
|
const Function *F = 0, *NewF = 0;
|
||||||
for (unsigned i = 0, e = N->getNumOperands(); i != e; ++i) {
|
for (unsigned i = 0, e = N->getNumOperands(); i != e; ++i) {
|
||||||
if (Value *V = N->getOperand(i)) {
|
if (Value *V = N->getOperand(i)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user