Skip to content

Commit 62e1c07

Browse files
committed
Remove leftovers of the CompilerStack hack
1 parent e33f75b commit 62e1c07

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

libevmasm/EVMAssemblyStack.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,6 @@ std::map<std::string, unsigned> EVMAssemblyStack::sourceIndices() const
7878
for (auto const& s: m_sourceList)
7979
if (s != CompilerContext::yulUtilityFileName())
8080
indices[s] = index++;
81-
82-
if (indices.find(CompilerContext::yulUtilityFileName()) == indices.end())
83-
indices[CompilerContext::yulUtilityFileName()] = index++;
8481
return indices;
8582
}
8683

test/cmdlineTests/asm_json_import_all_valid_flags/output

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@
3333
},
3434
"sourceList":
3535
[
36-
"contract.sol",
37-
"#utility.yul"
36+
"contract.sol"
3837
]
3938
},
4039
"bin": "5ffe",
@@ -85,7 +84,6 @@ EVM assembly:
8584
},
8685
"sourceList":
8786
[
88-
"contract.sol",
89-
"#utility.yul"
87+
"contract.sol"
9088
]
9189
}

0 commit comments

Comments
 (0)