mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-23 20:29:30 +00:00
Initialize variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144360 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
646abbfa30
commit
d61c34ba30
@ -19,6 +19,7 @@
|
||||
#include "llvm/GlobalVariable.h"
|
||||
#include "llvm/Instructions.h"
|
||||
#include "llvm/Analysis/DIBuilder.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/Target/Mangler.h"
|
||||
#include "llvm/Target/TargetData.h"
|
||||
#include "llvm/Target/TargetFrameLowering.h"
|
||||
@ -1095,7 +1096,7 @@ void CompileUnit::createGlobalVariableDIE(const MDNode *N) {
|
||||
addToContextOwner(VariableDIE, GVContext);
|
||||
// Add location.
|
||||
bool addToAccelTable = false;
|
||||
DIE *VariableSpecDIE;
|
||||
DIE *VariableSpecDIE = NULL;
|
||||
if (isGlobalVariable) {
|
||||
addToAccelTable = true;
|
||||
DIEBlock *Block = new (DIEValueAllocator) DIEBlock();
|
||||
|
Loading…
x
Reference in New Issue
Block a user