mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
LLL: fix the commented out debugging code
This commit is contained in:
parent
e5efc86f2d
commit
7c7a6de87b
@ -52,17 +52,18 @@ void CodeFragment::finalise(CompilerState const& _cs)
|
|||||||
|
|
||||||
CodeFragment::CodeFragment(sp::utree const& _t, CompilerState& _s, bool _allowASM)
|
CodeFragment::CodeFragment(sp::utree const& _t, CompilerState& _s, bool _allowASM)
|
||||||
{
|
{
|
||||||
/* cdebug << "CodeFragment. Locals:";
|
/*
|
||||||
|
std::cout << "CodeFragment. Locals:";
|
||||||
for (auto const& i: _s.defs)
|
for (auto const& i: _s.defs)
|
||||||
cdebug << i.first << ":" << toHex(i.second.m_code);
|
std::cout << i.first << ":" << i.second.m_asm.out();
|
||||||
cdebug << "Args:";
|
std::cout << "Args:";
|
||||||
for (auto const& i: _s.args)
|
for (auto const& i: _s.args)
|
||||||
cdebug << i.first << ":" << toHex(i.second.m_code);
|
std::cout << i.first << ":" << i.second.m_asm.out();
|
||||||
cdebug << "Outers:";
|
std::cout << "Outers:";
|
||||||
for (auto const& i: _s.outers)
|
for (auto const& i: _s.outers)
|
||||||
cdebug << i.first << ":" << toHex(i.second.m_code);
|
std::cout << i.first << ":" << i.second.m_asm.out();
|
||||||
debugOutAST(cout, _t);
|
debugOutAST(std::cout, _t);
|
||||||
cout << endl << flush;
|
std::cout << endl << flush;
|
||||||
*/
|
*/
|
||||||
switch (_t.which())
|
switch (_t.which())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user