mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
#include <iostream> since its not in Value.h any more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14614 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0e25e1cdcf
commit
57f6efc095
@ -19,6 +19,7 @@
|
|||||||
#include "llvm/Module.h"
|
#include "llvm/Module.h"
|
||||||
#include "Support/StringExtras.h"
|
#include "Support/StringExtras.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
#include <iostream>
|
||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
|
|
||||||
ConstantBool *ConstantBool::True = new ConstantBool(true);
|
ConstantBool *ConstantBool::True = new ConstantBool(true);
|
||||||
@ -120,8 +121,8 @@ Constant *Constant::getNullValue(const Type *Ty) {
|
|||||||
case Type::ArrayTyID:
|
case Type::ArrayTyID:
|
||||||
return ConstantAggregateZero::get(Ty);
|
return ConstantAggregateZero::get(Ty);
|
||||||
default:
|
default:
|
||||||
// Function, Type, Label, or Opaque type?
|
// Function, Label, or Opaque type?
|
||||||
assert(0 && "Cannot create a null constant of that type!");
|
assert(!"Cannot create a null constant of that type!");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user