mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 03:23:01 +02:00
[ScalarEvolution] Get rid of NDEBUG in header (correctly this time).
llvm-svn: 251255
This commit is contained in:
parent
ef521e177e
commit
0d0d89527e
@ -127,6 +127,10 @@ namespace llvm {
|
||||
/// Print out the internal representation of this scalar to the specified
|
||||
/// stream. This should really only be used for debugging purposes.
|
||||
void print(raw_ostream &OS) const;
|
||||
|
||||
/// This method is used for debugging.
|
||||
///
|
||||
void dump() const;
|
||||
};
|
||||
|
||||
// Specialize FoldingSetTrait for SCEV to avoid needing to compute
|
||||
|
@ -123,6 +123,12 @@ VerifySCEV("verify-scev",
|
||||
// Implementation of the SCEV class.
|
||||
//
|
||||
|
||||
LLVM_DUMP_METHOD
|
||||
void SCEV::dump() const {
|
||||
print(dbgs());
|
||||
dbgs() << '\n';
|
||||
}
|
||||
|
||||
void SCEV::print(raw_ostream &OS) const {
|
||||
switch (static_cast<SCEVTypes>(getSCEVType())) {
|
||||
case scConstant:
|
||||
|
Loading…
Reference in New Issue
Block a user