aboutsummaryrefslogtreecommitdiffstats
path: root/libjulia/backends/evm/EVMAssembly.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-05-31 19:06:51 +0800
committerchriseth <chris@ethereum.org>2017-06-08 21:52:45 +0800
commit0185f3cbf6aae954d8c59a556af0e150850022bc (patch)
tree49786ecfb329931f3366162586fc199ae75d2ba0 /libjulia/backends/evm/EVMAssembly.h
parentba5ee71b7f7b1ac5d6bc4b3a70dde36b34d20d8e (diff)
downloaddexon-solidity-0185f3cbf6aae954d8c59a556af0e150850022bc.tar.gz
dexon-solidity-0185f3cbf6aae954d8c59a556af0e150850022bc.tar.zst
dexon-solidity-0185f3cbf6aae954d8c59a556af0e150850022bc.zip
Correct stack height adjustment after returnsub.
Diffstat (limited to 'libjulia/backends/evm/EVMAssembly.h')
-rw-r--r--libjulia/backends/evm/EVMAssembly.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjulia/backends/evm/EVMAssembly.h b/libjulia/backends/evm/EVMAssembly.h
index 003eeaf5..4b0076dd 100644
--- a/libjulia/backends/evm/EVMAssembly.h
+++ b/libjulia/backends/evm/EVMAssembly.h
@@ -68,7 +68,7 @@ public:
/// Call a subroutine.
virtual void appendJumpsub(LabelID _label, int _arguments, int _returns) override;
/// Return from a subroutine.
- virtual void appendReturnsub(int _returns) override;
+ virtual void appendReturnsub(int _returns, int _stackDiffAfter) override;
/// Resolves references inside the bytecode and returns the linker object.