diff options
Diffstat (limited to 'projects/Stacker/lib/compiler')
-rw-r--r-- | projects/Stacker/lib/compiler/StackerCompiler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/projects/Stacker/lib/compiler/StackerCompiler.cpp b/projects/Stacker/lib/compiler/StackerCompiler.cpp index 6ebcae9b36..4cd0646103 100644 --- a/projects/Stacker/lib/compiler/StackerCompiler.cpp +++ b/projects/Stacker/lib/compiler/StackerCompiler.cpp @@ -132,7 +132,7 @@ StackerCompiler::compile( /*type=*/ stack_type, /*isConstant=*/ false, /*Linkage=*/ GlobalValue::AppendingLinkage, - /*initializer=*/0, + /*initializer=*/Constant::getNullValue(stack_type), /*name=*/ "_stack_", /*parent=*/ TheModule ); @@ -144,7 +144,7 @@ StackerCompiler::compile( /*type=*/Type::LongTy, /*isConstant=*/false, /*Linkage=*/GlobalValue::LinkOnceLinkage, - /*initializer=*/0, + /*initializer=*/Constant::getNullValue(Type::LongTy), /*name=*/"_index_", /*parent=*/TheModule ); |