names start with l0_.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14651
91177308-0d34-0410-b5e6-
96231b3b80d8
} else {
// Non-global, or global with internal linkage / colliding name
// -> mangle.
- name = "l" + utostr(V->getType()->getUniqueID()) + "_" +
- makeNameProper(V->getName());
+ unsigned TypeUniqueID = V->getType()->getUniqueID();
+ name = "l" + utostr(TypeUniqueID) + "_" + makeNameProper(V->getName());
}
} else {
name = "ltmp_" + utostr(Count++) + "_"
} else {
// Non-global, or global with internal linkage / colliding name
// -> mangle.
- name = "l" + utostr(V->getType()->getUniqueID()) + "_" +
- makeNameProper(V->getName());
+ unsigned TypeUniqueID = V->getType()->getUniqueID();
+ name = "l" + utostr(TypeUniqueID) + "_" + makeNameProper(V->getName());
}
} else {
name = "ltmp_" + utostr(Count++) + "_"