diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-25 17:40:14 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-25 17:40:14 +0800 |
commit | 71b0d8107aae500a5301e675aef3515539efe02f (patch) | |
tree | 8a844d94ef6c66b7c82610f5a966e64f4b9cf8d5 /CompilerContext.h | |
parent | 54121a0d787df1b730fa523b21040c312dda4bf6 (diff) | |
download | dexon-solidity-71b0d8107aae500a5301e675aef3515539efe02f.tar.gz dexon-solidity-71b0d8107aae500a5301e675aef3515539efe02f.tar.zst dexon-solidity-71b0d8107aae500a5301e675aef3515539efe02f.zip |
LocationSetter in some extra places during Compiling
- Also adjusted the test, and fixed its error reporting
Diffstat (limited to 'CompilerContext.h')
-rw-r--r-- | CompilerContext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CompilerContext.h b/CompilerContext.h index 6e1dbfbc..94d6443e 100644 --- a/CompilerContext.h +++ b/CompilerContext.h @@ -108,7 +108,7 @@ public: void pushVisitedNodes(ASTNode const* _node) { m_visitedNodes.push(_node); } /// Append elements to the current instruction list and adjust @a m_stackOffset. - CompilerContext& operator<<(eth::AssemblyItem _item); + CompilerContext& operator<<(eth::AssemblyItem const& _item); CompilerContext& operator<<(eth::Instruction _instruction); CompilerContext& operator<<(u256 const& _value); CompilerContext& operator<<(bytes const& _data); |