Pass end position of span through inline ASM cookie
This commit is contained in:
@@ -521,6 +521,12 @@ impl SpanData {
|
||||
}
|
||||
}
|
||||
|
||||
impl Default for SpanData {
|
||||
fn default() -> Self {
|
||||
Self { lo: BytePos(0), hi: BytePos(0), ctxt: SyntaxContext::root(), parent: None }
|
||||
}
|
||||
}
|
||||
|
||||
impl PartialOrd for Span {
|
||||
fn partial_cmp(&self, rhs: &Self) -> Option<Ordering> {
|
||||
PartialOrd::partial_cmp(&self.data(), &rhs.data())
|
||||
|
||||
Reference in New Issue
Block a user