Browse Source

Limit debug output

cl-refactor
Paweł Bylica 10 years ago
parent
commit
6c3af96a40
  1. 3
      libevmjit/Compiler.cpp
  2. 1
      libevmjit/VM.cpp

3
libevmjit/Compiler.cpp

@ -923,7 +923,8 @@ void Compiler::linkBasicBlocks()
for (auto it = llvm::po_ext_begin(bb.second.llvm(), visitSet), for (auto it = llvm::po_ext_begin(bb.second.llvm(), visitSet),
end = llvm::po_ext_end(bb.second.llvm(), visitSet); it != end; ++it) end = llvm::po_ext_end(bb.second.llvm(), visitSet); it != end; ++it)
{ {
std::cerr << it->getName().str() << std::endl; // TODO: Use logger
//std::cerr << it->getName().str() << std::endl;
completePhiNodes(*it); completePhiNodes(*it);
} }
} }

1
libevmjit/VM.cpp

@ -16,7 +16,6 @@ namespace jit
bytes VM::go(ExtVMFace& _ext) bytes VM::go(ExtVMFace& _ext)
{ {
auto module = Compiler().compile(_ext.code); auto module = Compiler().compile(_ext.code);
module->dump();
ExecutionEngine engine; ExecutionEngine engine;
auto exitCode = engine.run(std::move(module), m_gas, &_ext); auto exitCode = engine.run(std::move(module), m_gas, &_ext);

Loading…
Cancel
Save