diff options
author | chriseth <chris@ethereum.org> | 2016-10-17 20:16:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-17 20:16:41 +0800 |
commit | 07d32937fd1aa0860611ce1307f08439317de449 (patch) | |
tree | f2a23ddceb8298eaed8e213c92f3bae91f6322c1 /liblll/CodeFragment.cpp | |
parent | cc2a6867a7986b04c3f8013f508df77eab738d19 (diff) | |
parent | 8aa50a004fb320b927b96576f085cfbe5f845da6 (diff) | |
download | dexon-solidity-07d32937fd1aa0860611ce1307f08439317de449.tar.gz dexon-solidity-07d32937fd1aa0860611ce1307f08439317de449.tar.zst dexon-solidity-07d32937fd1aa0860611ce1307f08439317de449.zip |
Merge pull request #1229 from ethereum/lll-error-reporting
LLL: better error reporting
Diffstat (limited to 'liblll/CodeFragment.cpp')
-rw-r--r-- | liblll/CodeFragment.cpp | 17 |
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()) { |