diff options
author | Gav Wood <i@gavwood.com> | 2014-07-01 06:16:01 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2014-07-01 06:16:01 +0800 |
commit | 3174a5e0c6072004159326f000c0e1dfe6703b00 (patch) | |
tree | 34d20ebc891413a5b16d92ddfa2c7e2e19c99f39 /Assembly.cpp | |
parent | e65c3ff17de66cfd7d80ef78abba09c6ecf35ded (diff) | |
download | dexon-solidity-3174a5e0c6072004159326f000c0e1dfe6703b00.tar dexon-solidity-3174a5e0c6072004159326f000c0e1dfe6703b00.tar.gz dexon-solidity-3174a5e0c6072004159326f000c0e1dfe6703b00.tar.bz2 dexon-solidity-3174a5e0c6072004159326f000c0e1dfe6703b00.tar.lz dexon-solidity-3174a5e0c6072004159326f000c0e1dfe6703b00.tar.xz dexon-solidity-3174a5e0c6072004159326f000c0e1dfe6703b00.tar.zst dexon-solidity-3174a5e0c6072004159326f000c0e1dfe6703b00.zip |
Fixed problem with alloc.
Diffstat (limited to 'Assembly.cpp')
-rw-r--r-- | Assembly.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Assembly.cpp b/Assembly.cpp index 0fa12537..7016b286 100644 --- a/Assembly.cpp +++ b/Assembly.cpp @@ -176,6 +176,11 @@ AssemblyItem const& Assembly::append(AssemblyItem const& _i) return back(); } +void Assembly::injectStart(AssemblyItem const& _i) +{ + m_items.insert(m_items.begin(), _i); +} + inline bool matches(AssemblyItemsConstRef _a, AssemblyItemsConstRef _b) { if (_a.size() != _b.size()) |