aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/Assembly.cpp
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-06-15 18:10:41 +0800
committerchriseth <c@ethdev.com>2015-06-16 01:47:44 +0800
commite7906ba1beecf9fd04d9e3476da7a66d61714629 (patch)
treecaeeade082bc2fb1ca7985c44ad1caae97d80b93 /libsolidity/Assembly.cpp
parentfd745418438f24991eed33a96da6724feb22b824 (diff)
downloaddexon-solidity-e7906ba1beecf9fd04d9e3476da7a66d61714629.tar.gz
dexon-solidity-e7906ba1beecf9fd04d9e3476da7a66d61714629.tar.zst
dexon-solidity-e7906ba1beecf9fd04d9e3476da7a66d61714629.zip
Copying between memory and memory.
Also fixed some encoding and padding issues with older copying code.
Diffstat (limited to 'libsolidity/Assembly.cpp')
-rw-r--r--libsolidity/Assembly.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/Assembly.cpp b/libsolidity/Assembly.cpp
index fd4bbcf6..8d316a97 100644
--- a/libsolidity/Assembly.cpp
+++ b/libsolidity/Assembly.cpp
@@ -106,7 +106,7 @@ BOOST_AUTO_TEST_CASE(location_test)
AssemblyItems items = compileContract(sourceCode);
vector<SourceLocation> locations =
vector<SourceLocation>(17, SourceLocation(2, 75, n)) +
- vector<SourceLocation>(14, SourceLocation(20, 72, n)) +
+ vector<SourceLocation>(26, SourceLocation(20, 72, n)) +
vector<SourceLocation>{SourceLocation(42, 51, n), SourceLocation(65, 67, n)} +
vector<SourceLocation>(4, SourceLocation(58, 67, n)) +
vector<SourceLocation>(3, SourceLocation(20, 72, n));