mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Do not perform cleanup on unsigned integers when loading from calldata.
This commit is contained in:
committed by
Alex Beregszaszi
parent
1e4765fba7
commit
727e3f24bc
@@ -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--"))) +
|
||||
|
||||
Reference in New Issue
Block a user