aboutsummaryrefslogtreecommitdiffstats
path: root/libyul/backends/evm/EVMAssembly.h
diff options
context:
space:
mode:
Diffstat (limited to 'libyul/backends/evm/EVMAssembly.h')
-rw-r--r--libyul/backends/evm/EVMAssembly.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libyul/backends/evm/EVMAssembly.h b/libyul/backends/evm/EVMAssembly.h
index 8f92b6e7..c9190634 100644
--- a/libyul/backends/evm/EVMAssembly.h
+++ b/libyul/backends/evm/EVMAssembly.h
@@ -26,6 +26,11 @@
#include <map>
+namespace langutil
+{
+struct SourceLocation;
+}
+
namespace dev
{
namespace yul
@@ -38,7 +43,7 @@ public:
virtual ~EVMAssembly() {}
/// Set a new source location valid starting from the next instruction.
- void setSourceLocation(SourceLocation const& _location) override;
+ void setSourceLocation(langutil::SourceLocation const& _location) override;
/// Retrieve the current height of the stack. This does not have to be zero
/// at the beginning.
int stackHeight() const override { return m_stackHeight; }