aboutsummaryrefslogtreecommitdiffstats
path: root/liblll/CodeFragment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'liblll/CodeFragment.cpp')
-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())
{