Skip to content

Commit 7b55579

Browse files
committed
Remove debug print
1 parent feb4cf4 commit 7b55579

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

lib/programmemory.cpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@
4545
#include <utility>
4646
#include <vector>
4747

48-
#include <iostream>
49-
5048
ExprIdToken::ExprIdToken(const Token* tok) : tok(tok), exprid(tok ? tok->exprId() : 0) {}
5149

5250
nonneg int ExprIdToken::getExpressionId() const {
@@ -495,17 +493,6 @@ static void addVars(ProgramMemory& pm, const ProgramMemory::Map& vars)
495493
}
496494
}
497495

498-
static void debugPrint(const ProgramMemory& pm)
499-
{
500-
for (auto&& p : pm) {
501-
if (p.first.tok)
502-
std::cout << p.first->expressionString();
503-
else
504-
std::cout << p.first.exprid;
505-
std::cout << " => " << p.second.toString() << std::endl;
506-
}
507-
}
508-
509496
void ProgramMemoryState::addState(const Token* tok, const ProgramMemory::Map& vars)
510497
{
511498
ProgramMemory local = state;

0 commit comments

Comments
 (0)