Skip to content

Commit a9c2186

Browse files
committed
Update tests.
1 parent 733b0f6 commit a9c2186

File tree

39 files changed

+55
-55
lines changed

39 files changed

+55
-55
lines changed

test/cmdlineTests/debug_info_in_yul_and_evm_asm_print_all/output

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ object "C_6" {
194194
{
195195
if callvalue() { revert(_1, _1) }
196196
if slt(add(calldatasize(), not(3)), _1) { revert(_1, _1) }
197-
return(memoryguard(0x80), _1)
197+
return(_1, _1)
198198
}
199199
}
200200
revert(0, 0)

test/cmdlineTests/debug_info_in_yul_and_evm_asm_print_location_only/output

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ object "C_6" {
193193
{
194194
if callvalue() { revert(_1, _1) }
195195
if slt(add(calldatasize(), not(3)), _1) { revert(_1, _1) }
196-
return(memoryguard(0x80), _1)
196+
return(_1, _1)
197197
}
198198
}
199199
revert(0, 0)

test/cmdlineTests/debug_info_in_yul_and_evm_asm_print_none/output

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ object "C_6" {
182182
{
183183
if callvalue() { revert(_1, _1) }
184184
if slt(add(calldatasize(), not(3)), _1) { revert(_1, _1) }
185-
return(memoryguard(0x80), _1)
185+
return(_1, _1)
186186
}
187187
}
188188
revert(0, 0)

test/cmdlineTests/ir_compiler_subobjects/output

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ object "D_16" {
7171
returndatacopy(pos, _2, returndatasize())
7272
revert(pos, returndatasize())
7373
}
74-
return(mload(64), _2)
74+
return(_2, _2)
7575
}
7676
}
7777
revert(0, 0)

test/cmdlineTests/ir_with_assembly_no_memoryguard_creation/output

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ object "D_12" {
2222
{
2323
if callvalue() { revert(_1, _1) }
2424
if slt(add(calldatasize(), not(3)), _1) { revert(_1, _1) }
25-
return(memoryguard(0x80), _1)
25+
return(_1, _1)
2626
}
2727
}
2828
revert(0, 0)

test/cmdlineTests/ir_with_assembly_no_memoryguard_runtime/output

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ object "D_8" {
2424
{
2525
if callvalue() { revert(_1, _1) }
2626
if slt(add(calldatasize(), not(3)), _1) { revert(_1, _1) }
27-
return(128, _1)
27+
return(_1, _1)
2828
}
2929
}
3030
revert(0, 0)

test/cmdlineTests/standard_debug_info_in_yul_and_evm_asm_print_all/output.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ object \"C_6\" {
199199
{
200200
if callvalue() { revert(_1, _1) }
201201
if slt(add(calldatasize(), not(3)), _1) { revert(_1, _1) }
202-
return(memoryguard(0x80), _1)
202+
return(_1, _1)
203203
}
204204
}
205205
revert(0, 0)

test/cmdlineTests/standard_debug_info_in_yul_and_evm_asm_print_location_only/output.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ object \"C_6\" {
198198
{
199199
if callvalue() { revert(_1, _1) }
200200
if slt(add(calldatasize(), not(3)), _1) { revert(_1, _1) }
201-
return(memoryguard(0x80), _1)
201+
return(_1, _1)
202202
}
203203
}
204204
revert(0, 0)

test/cmdlineTests/standard_debug_info_in_yul_and_evm_asm_print_none/output.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ object \"C_6\" {
187187
{
188188
if callvalue() { revert(_1, _1) }
189189
if slt(add(calldatasize(), not(3)), _1) { revert(_1, _1) }
190-
return(memoryguard(0x80), _1)
190+
return(_1, _1)
191191
}
192192
}
193193
revert(0, 0)

test/cmdlineTests/viair_subobjects/output

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ object "D_16" {
8383
returndatacopy(pos, _2, returndatasize())
8484
revert(pos, returndatasize())
8585
}
86-
return(mload(64), _2)
86+
return(_2, _2)
8787
}
8888
}
8989
revert(0, 0)

0 commit comments

Comments
 (0)