mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-26 05:25:47 +00:00
Change from Method to Function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1992 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1028,10 +1028,8 @@ MethodInfo::MethodInfo(Method *M) : Annotation(MethodInfoAID) {
|
||||
// Assign slot numbers to the method arguments...
|
||||
const Method::ArgumentListType &ArgList = M->getArgumentList();
|
||||
for (Method::ArgumentListType::const_iterator AI = ArgList.begin(),
|
||||
AE = ArgList.end(); AI != AE; ++AI) {
|
||||
MethodArgument *MA = *AI;
|
||||
MA->addAnnotation(new SlotNumber(getValueSlot(MA)));
|
||||
}
|
||||
AE = ArgList.end(); AI != AE; ++AI)
|
||||
(*AI)->addAnnotation(new SlotNumber(getValueSlot(*AI)));
|
||||
|
||||
// Iterate over all of the instructions...
|
||||
unsigned InstNum = 0;
|
||||
|
Reference in New Issue
Block a user