feat: 添加控制流标签与循环栈
This commit is contained in:
@@ -53,6 +53,12 @@ fn hash_statement(stmt: &Statement, h: &mut rustc_hash::FxHasher) {
|
||||
hash_statement(s, h);
|
||||
}
|
||||
}
|
||||
Statement::BreakStatement(_) => {
|
||||
7u8.hash(h);
|
||||
}
|
||||
Statement::ContinueStatement(_) => {
|
||||
8u8.hash(h);
|
||||
}
|
||||
_ => {
|
||||
std::mem::discriminant(stmt).hash(h);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user