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:
@@ -53,10 +53,7 @@ T AsmJsonImporter::createAsmNode(Json::Value const& _node)
|
||||
{
|
||||
T r;
|
||||
SourceLocation location = createSourceLocation(_node);
|
||||
yulAssert(
|
||||
location.source && 0 <= location.start && location.start <= location.end,
|
||||
"Invalid source location in Asm AST"
|
||||
);
|
||||
yulAssert(location.hasText(), "Invalid source location in Asm AST");
|
||||
r.debugData = DebugData::create(location);
|
||||
return r;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user