mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Revert r49614. As Dan pointed out, some of these aren't correct.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49657 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -317,7 +317,7 @@ Function *CodeExtractor::constructFunction(const Values &inputs,
|
||||
if (!AggregateArgs) {
|
||||
AI = newFunction->arg_begin();
|
||||
for (unsigned i = 0, e = inputs.size(); i != e; ++i, ++AI)
|
||||
AI->takeName(inputs[i]);
|
||||
AI->setName(inputs[i]->getName());
|
||||
for (unsigned i = 0, e = outputs.size(); i != e; ++i, ++AI)
|
||||
AI->setName(outputs[i]->getName()+".out");
|
||||
}
|
||||
|
Reference in New Issue
Block a user