mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Separate DebugData fields for Solidity and Yul source locations
This commit is contained in:
@@ -306,14 +306,14 @@ string AsmPrinter::formatDebugData(shared_ptr<DebugData const> const& _debugData
|
||||
items.emplace_back("@ast-id " + to_string(*id));
|
||||
|
||||
if (
|
||||
m_lastLocation != _debugData->location &&
|
||||
m_lastLocation != _debugData->originLocation &&
|
||||
!m_nameToSourceIndex.empty()
|
||||
)
|
||||
{
|
||||
m_lastLocation = _debugData->location;
|
||||
m_lastLocation = _debugData->originLocation;
|
||||
|
||||
items.emplace_back(formatSourceLocation(
|
||||
_debugData->location,
|
||||
_debugData->originLocation,
|
||||
m_nameToSourceIndex,
|
||||
m_soliditySourceProvider
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user