From 7cb46ea7078e252e53626f54d9791db022e8b27a Mon Sep 17 00:00:00 2001 From: Erik Kundt Date: Fri, 29 Jun 2018 17:20:06 +0200 Subject: Fixes assembly test. --- test/libsolidity/Assembly.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/libsolidity/Assembly.cpp b/test/libsolidity/Assembly.cpp index 9c20c003..e815d7d5 100644 --- a/test/libsolidity/Assembly.cpp +++ b/test/libsolidity/Assembly.cpp @@ -160,19 +160,19 @@ BOOST_AUTO_TEST_CASE(location_test) AssemblyItems items = compileContract(sourceCode); bool hasShifts = dev::test::Options::get().evmVersion().hasBitwiseShifting(); vector locations = - vector(hasShifts ? 23 : 24, SourceLocation(2, 75, make_shared(""))) + - vector(2, SourceLocation(20, 72, make_shared(""))) + + vector(hasShifts ? 23 : 24, SourceLocation(2, 82, make_shared(""))) + + vector(2, SourceLocation(20, 79, make_shared(""))) + vector(1, SourceLocation(8, 17, make_shared("--CODEGEN--"))) + vector(3, SourceLocation(5, 7, make_shared("--CODEGEN--"))) + vector(1, SourceLocation(30, 31, make_shared("--CODEGEN--"))) + vector(1, SourceLocation(27, 28, make_shared("--CODEGEN--"))) + vector(1, SourceLocation(20, 32, make_shared("--CODEGEN--"))) + vector(1, SourceLocation(5, 7, make_shared("--CODEGEN--"))) + - vector(24, SourceLocation(20, 72, make_shared(""))) + - vector(1, SourceLocation(42, 51, make_shared(""))) + - vector(1, SourceLocation(65, 67, make_shared(""))) + - vector(2, SourceLocation(58, 67, make_shared(""))) + - vector(2, SourceLocation(20, 72, make_shared(""))); + vector(24, SourceLocation(20, 79, make_shared(""))) + + vector(1, SourceLocation(49, 58, make_shared(""))) + + vector(1, SourceLocation(72, 74, make_shared(""))) + + vector(2, SourceLocation(65, 74, make_shared(""))) + + vector(2, SourceLocation(20, 79, make_shared(""))); checkAssemblyLocations(items, locations); } -- cgit