mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
Fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191595 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
804f034bd1
commit
f625c14487
@ -245,7 +245,7 @@ GlobalVariable *Module::getGlobalVariable(StringRef Name, bool AllowLocal) {
|
|||||||
/// 1. If it does not exist, add a declaration of the global and return it.
|
/// 1. If it does not exist, add a declaration of the global and return it.
|
||||||
/// 2. Else, the global exists but has the wrong type: return the function
|
/// 2. Else, the global exists but has the wrong type: return the function
|
||||||
/// with a constantexpr cast to the right type.
|
/// with a constantexpr cast to the right type.
|
||||||
/// 3. Finally, if the existing global is the correct delclaration, return the
|
/// 3. Finally, if the existing global is the correct declaration, return the
|
||||||
/// existing global.
|
/// existing global.
|
||||||
Constant *Module::getOrInsertGlobal(StringRef Name, Type *Ty) {
|
Constant *Module::getOrInsertGlobal(StringRef Name, Type *Ty) {
|
||||||
// See if we have a definition for the specified global already.
|
// See if we have a definition for the specified global already.
|
||||||
|
Loading…
Reference in New Issue
Block a user