aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm/ControlFlowGraph.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-12-11 02:22:02 +0800
committerGitHub <noreply@github.com>2018-12-11 02:22:02 +0800
commitbaaefb4b422fb22a89af08b79e6595e7859d2323 (patch)
tree1a04773f8ac16ee5722446009da4494bf3a10ebb /libevmasm/ControlFlowGraph.cpp
parent5355380f80eeb9fac49dd28a32b08ba88e662c87 (diff)
parentcb935fe9086b60295f97c5b8a5fd0ea8245d145e (diff)
downloaddexon-solidity-baaefb4b422fb22a89af08b79e6595e7859d2323.tar
dexon-solidity-baaefb4b422fb22a89af08b79e6595e7859d2323.tar.gz
dexon-solidity-baaefb4b422fb22a89af08b79e6595e7859d2323.tar.bz2
dexon-solidity-baaefb4b422fb22a89af08b79e6595e7859d2323.tar.lz
dexon-solidity-baaefb4b422fb22a89af08b79e6595e7859d2323.tar.xz
dexon-solidity-baaefb4b422fb22a89af08b79e6595e7859d2323.tar.zst
dexon-solidity-baaefb4b422fb22a89af08b79e6595e7859d2323.zip
Merge pull request #5619 from ethereum/cleanup-abc
Some code cleanup
Diffstat (limited to 'libevmasm/ControlFlowGraph.cpp')
-rw-r--r--libevmasm/ControlFlowGraph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libevmasm/ControlFlowGraph.cpp b/libevmasm/ControlFlowGraph.cpp
index d62f5436..e82c2903 100644
--- a/libevmasm/ControlFlowGraph.cpp
+++ b/libevmasm/ControlFlowGraph.cpp
@@ -87,7 +87,7 @@ void ControlFlowGraph::splitBlocks()
m_blocks[id].begin = index;
}
if (item.type() == PushTag)
- m_blocks[id].pushedTags.push_back(BlockId(item.data()));
+ m_blocks[id].pushedTags.emplace_back(item.data());
if (SemanticInformation::altersControlFlow(item))
{
m_blocks[id].end = index + 1;