diff options
| author | chriseth <c@ethdev.com> | 2017-01-27 17:18:53 +0800 |
|---|---|---|
| committer | chriseth <c@ethdev.com> | 2017-01-27 17:18:53 +0800 |
| commit | bff8fc23e6cc602511b52aaa665e63b948eba068 (patch) | |
| tree | 79856f29934753d281d2e54bf983a6df66585266 /libsolidity/codegen | |
| parent | 7660736aa269c69a69ef728924f566d72661638a (diff) | |
| download | dexon-solidity-bff8fc23e6cc602511b52aaa665e63b948eba068.tar dexon-solidity-bff8fc23e6cc602511b52aaa665e63b948eba068.tar.gz dexon-solidity-bff8fc23e6cc602511b52aaa665e63b948eba068.tar.bz2 dexon-solidity-bff8fc23e6cc602511b52aaa665e63b948eba068.tar.lz dexon-solidity-bff8fc23e6cc602511b52aaa665e63b948eba068.tar.xz dexon-solidity-bff8fc23e6cc602511b52aaa665e63b948eba068.tar.zst dexon-solidity-bff8fc23e6cc602511b52aaa665e63b948eba068.zip | |
Changelog and review suggestions.
Diffstat (limited to 'libsolidity/codegen')
| -rw-r--r-- | libsolidity/codegen/ContractCompiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/codegen/ContractCompiler.cpp b/libsolidity/codegen/ContractCompiler.cpp index 3ca2f375..4d33927d 100644 --- a/libsolidity/codegen/ContractCompiler.cpp +++ b/libsolidity/codegen/ContractCompiler.cpp @@ -919,7 +919,7 @@ eth::AssemblyPointer ContractCompiler::cloneRuntime() //Propagate error condition (if DELEGATECALL pushes 0 on stack). a << Instruction::ISZERO; a << Instruction::ISZERO; - eth::AssemblyItem afterTag = a.appendJumpI(); + eth::AssemblyItem afterTag = a.appendJumpI().tag(); a << Instruction::INVALID << afterTag; //@todo adjust for larger return values, make this dynamic. a << u256(0x20) << u256(0) << Instruction::RETURN; |
