Commit 386b688f authored by Michael Arntzenius's avatar Michael Arntzenius

quieten irgenerator verbose output

parent 1519fcfd
...@@ -2478,24 +2478,24 @@ public: ...@@ -2478,24 +2478,24 @@ public:
} }
void run(const CFGBlock* block) override { void run(const CFGBlock* block) override {
if (VERBOSITY("irgenerator") >= 1) { // print starting symbol table // if (VERBOSITY("irgenerator") >= 1) { // print starting symbol table
printf(" %d init:", block->idx); // printf(" %d init:", block->idx);
for (auto it = symbol_table.begin(); it != symbol_table.end(); ++it) // for (auto it = symbol_table.begin(); it != symbol_table.end(); ++it)
printf(" %s", it->first.c_str()); // printf(" %s", it->first.c_str());
printf("\n"); // printf("\n");
} // }
for (int i = 0; i < block->body.size(); i++) { for (int i = 0; i < block->body.size(); i++) {
if (state == DEAD) if (state == DEAD)
break; break;
assert(state != FINISHED); assert(state != FINISHED);
doStmt(block->body[i], UnwindInfo(block->body[i], NULL)); doStmt(block->body[i], UnwindInfo(block->body[i], NULL));
} }
if (VERBOSITY("irgenerator") >= 1) { // print ending symbol table // if (VERBOSITY("irgenerator") >= 1) { // print ending symbol table
printf(" %d fini:", block->idx); // printf(" %d fini:", block->idx);
for (auto it = symbol_table.begin(); it != symbol_table.end(); ++it) // for (auto it = symbol_table.begin(); it != symbol_table.end(); ++it)
printf(" %s", it->first.c_str()); // printf(" %s", it->first.c_str());
printf("\n"); // printf("\n");
} // }
} }
void doSafePoint() override { emitter.getBuilder()->CreateCall(g.funcs.allowGLReadPreemption); } void doSafePoint() override { emitter.getBuilder()->CreateCall(g.funcs.allowGLReadPreemption); }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment