Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ethereum/solidity
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b0f5c6b5fa3ee4c5161bbd3840927c0011746b10
Choose a base ref
..
head repository: ethereum/solidity
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2d04f51a01c2e33473515463068db34f4f439ef7
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 libyul/ASTLabelRegistry.cpp
2 changes: 1 addition & 1 deletion libyul/ASTLabelRegistry.cpp
Original file line number Diff line number Diff line change
@@ -78,7 +78,7 @@ std::string_view ASTLabelRegistry::operator[](LabelID const _id) const
yulAssert(labelIndex != ghostLabelIndex(), "Ghost ids are not explicitly labelled in the registry.");
// not using `unused` here, as we already have evaluated the label index
// an id is unused if it is not id == 0 (empty label) but points at label index 0
yulAssert(!empty(_id) && labelIndex == 0, "Can only query ids that are not unused");
yulAssert(empty(_id) || labelIndex != 0, "Can only query ids that are not unused");
return m_labels[labelIndex];
}