mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 06:32:24 +00:00
Fix comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146109 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d40e103ea5
commit
14d622dce6
@ -64,7 +64,7 @@ namespace bitc {
|
|||||||
// section, visibility, gc, unnamed_addr]
|
// section, visibility, gc, unnamed_addr]
|
||||||
MODULE_CODE_FUNCTION = 8,
|
MODULE_CODE_FUNCTION = 8,
|
||||||
|
|
||||||
// ALIAS: [alias type, aliasee val#, linkage]
|
// ALIAS: [alias type, aliasee val#, linkage, visibility]
|
||||||
MODULE_CODE_ALIAS = 9,
|
MODULE_CODE_ALIAS = 9,
|
||||||
|
|
||||||
/// MODULE_CODE_PURGEVALS: [numvals]
|
/// MODULE_CODE_PURGEVALS: [numvals]
|
||||||
|
@ -525,6 +525,7 @@ static void WriteModuleInfo(const Module *M, const ValueEnumerator &VE,
|
|||||||
// Emit the alias information.
|
// Emit the alias information.
|
||||||
for (Module::const_alias_iterator AI = M->alias_begin(), E = M->alias_end();
|
for (Module::const_alias_iterator AI = M->alias_begin(), E = M->alias_end();
|
||||||
AI != E; ++AI) {
|
AI != E; ++AI) {
|
||||||
|
// ALIAS: [alias type, aliasee val#, linkage, visibility]
|
||||||
Vals.push_back(VE.getTypeID(AI->getType()));
|
Vals.push_back(VE.getTypeID(AI->getType()));
|
||||||
Vals.push_back(VE.getValueID(AI->getAliasee()));
|
Vals.push_back(VE.getValueID(AI->getAliasee()));
|
||||||
Vals.push_back(getEncodedLinkage(AI));
|
Vals.push_back(getEncodedLinkage(AI));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user