aboutsummaryrefslogtreecommitdiffstats
path: root/liblll
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-10-15 19:58:57 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2016-10-15 19:58:57 +0800
commit7c7a6de87b3c7b574a6bed25c7251df869532056 (patch)
tree6d65e4aa2b84f5377491852696543aef65692ed4 /liblll
parente5efc86f2d2d71c948340dbe31094056deb6d002 (diff)
downloaddexon-solidity-7c7a6de87b3c7b574a6bed25c7251df869532056.tar.gz
dexon-solidity-7c7a6de87b3c7b574a6bed25c7251df869532056.tar.zst
dexon-solidity-7c7a6de87b3c7b574a6bed25c7251df869532056.zip
LLL: fix the commented out debugging code
Diffstat (limited to 'liblll')
-rw-r--r--liblll/CodeFragment.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/liblll/CodeFragment.cpp b/liblll/CodeFragment.cpp
index e9f86ba0..9dcac845 100644
--- a/liblll/CodeFragment.cpp
+++ b/liblll/CodeFragment.cpp
@@ -52,17 +52,18 @@ void CodeFragment::finalise(CompilerState const& _cs)
CodeFragment::CodeFragment(sp::utree const& _t, CompilerState& _s, bool _allowASM)
{
-/* cdebug << "CodeFragment. Locals:";
+/*
+ std::cout << "CodeFragment. Locals:";
for (auto const& i: _s.defs)
- cdebug << i.first << ":" << toHex(i.second.m_code);
- cdebug << "Args:";
+ std::cout << i.first << ":" << i.second.m_asm.out();
+ std::cout << "Args:";
for (auto const& i: _s.args)
- cdebug << i.first << ":" << toHex(i.second.m_code);
- cdebug << "Outers:";
+ std::cout << i.first << ":" << i.second.m_asm.out();
+ std::cout << "Outers:";
for (auto const& i: _s.outers)
- cdebug << i.first << ":" << toHex(i.second.m_code);
- debugOutAST(cout, _t);
- cout << endl << flush;
+ std::cout << i.first << ":" << i.second.m_asm.out();
+ debugOutAST(std::cout, _t);
+ std::cout << endl << flush;
*/
switch (_t.which())
{