aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-11-08 06:52:13 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-11-15 04:52:30 +0800
commit727e3f24bc57b9470b7972fe882d60117625afe5 (patch)
tree199d350f723cd845a9fffd7f09811f187e7afe9d /test/libsolidity
parent1e4765fba7a061d8440b5bdb57ba074874c7e171 (diff)
downloaddexon-solidity-727e3f24bc57b9470b7972fe882d60117625afe5.tar
dexon-solidity-727e3f24bc57b9470b7972fe882d60117625afe5.tar.gz
dexon-solidity-727e3f24bc57b9470b7972fe882d60117625afe5.tar.bz2
dexon-solidity-727e3f24bc57b9470b7972fe882d60117625afe5.tar.lz
dexon-solidity-727e3f24bc57b9470b7972fe882d60117625afe5.tar.xz
dexon-solidity-727e3f24bc57b9470b7972fe882d60117625afe5.tar.zst
dexon-solidity-727e3f24bc57b9470b7972fe882d60117625afe5.zip
Do not perform cleanup on unsigned integers when loading from calldata.
Diffstat (limited to 'test/libsolidity')
-rw-r--r--test/libsolidity/Assembly.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/Assembly.cpp b/test/libsolidity/Assembly.cpp
index e815d7d5..5e157678 100644
--- a/test/libsolidity/Assembly.cpp
+++ b/test/libsolidity/Assembly.cpp
@@ -160,7 +160,7 @@ BOOST_AUTO_TEST_CASE(location_test)
AssemblyItems items = compileContract(sourceCode);
bool hasShifts = dev::test::Options::get().evmVersion().hasBitwiseShifting();
vector<SourceLocation> locations =
- vector<SourceLocation>(hasShifts ? 23 : 24, SourceLocation(2, 82, make_shared<string>(""))) +
+ vector<SourceLocation>(hasShifts ? 21 : 22, SourceLocation(2, 82, make_shared<string>(""))) +
vector<SourceLocation>(2, SourceLocation(20, 79, make_shared<string>(""))) +
vector<SourceLocation>(1, SourceLocation(8, 17, make_shared<string>("--CODEGEN--"))) +
vector<SourceLocation>(3, SourceLocation(5, 7, make_shared<string>("--CODEGEN--"))) +