pr 36
This commit is contained in:
@@ -170,6 +170,7 @@ pub enum InstrKind {
|
||||
pub const RC_SENSITIVE_OPS: &[&str] = &[
|
||||
"LocalStore",
|
||||
"GateStore",
|
||||
"GateLoad",
|
||||
"Pop",
|
||||
"Ret",
|
||||
"FrameSync",
|
||||
@@ -373,7 +374,7 @@ mod tests {
|
||||
// Required by PR-06: Documentation test or unit assertion that the RC-sensitive list exists
|
||||
assert!(!RC_SENSITIVE_OPS.is_empty(), "RC-sensitive instructions list must not be empty");
|
||||
|
||||
let expected = ["LocalStore", "GateStore", "Pop", "Ret", "FrameSync"];
|
||||
let expected = ["LocalStore", "GateStore", "GateLoad", "Pop", "Ret", "FrameSync"];
|
||||
for op in expected {
|
||||
assert!(RC_SENSITIVE_OPS.contains(&op), "RC-sensitive list must contain {}", op);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user