mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 03:30:22 +00:00
Add fixme.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107697 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
211244aa52
commit
6db2389d69
@ -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