mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-15 09:33:39 +00:00
Changed to external global var
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4120 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2123c08f20
commit
3383b1d3bb
@ -190,7 +190,7 @@ bool ProfilePaths::runOnFunction(Function &F){
|
||||
static bool insertedThreshold = false;
|
||||
|
||||
if(!insertedThreshold){
|
||||
threshold = new GlobalVariable(Type::IntTy, false, true, 0,
|
||||
threshold = new GlobalVariable(Type::IntTy, false, false, 0,
|
||||
"reopt_threshold");
|
||||
|
||||
F.getParent()->getGlobalList().push_back(threshold);
|
||||
|
Loading…
x
Reference in New Issue
Block a user