mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove CharStream from SourceLocation.
This commit is contained in:
@@ -350,8 +350,8 @@ std::string AssemblyItem::computeSourceMapping(
|
||||
SourceLocation const& location = item.location();
|
||||
int length = location.start != -1 && location.end != -1 ? location.end - location.start : -1;
|
||||
int sourceIndex =
|
||||
location.source && _sourceIndicesMap.count(location.source->name()) ?
|
||||
static_cast<int>(_sourceIndicesMap.at(location.source->name())) :
|
||||
(location.sourceName && _sourceIndicesMap.count(*location.sourceName)) ?
|
||||
static_cast<int>(_sourceIndicesMap.at(*location.sourceName)) :
|
||||
-1;
|
||||
char jump = '-';
|
||||
if (item.getJumpType() == evmasm::AssemblyItem::JumpType::IntoFunction)
|
||||
|
||||
Reference in New Issue
Block a user