(&self)
| 347 | |
| 348 | impl Bytecode { |
| 349 | pub fn get_attr_id(&self) -> AttrId { |
| 350 | use Bytecode::*; |
| 351 | match self { |
| 352 | Assign(id, ..) |
| 353 | | Call(id, ..) |
| 354 | | Ret(id, ..) |
| 355 | | Load(id, ..) |
| 356 | | Branch(id, ..) |
| 357 | | Jump(id, ..) |
| 358 | | Label(id, ..) |
| 359 | | Abort(id, ..) |
| 360 | | Nop(id) |
| 361 | | SaveMem(id, ..) |
| 362 | | SaveSpecVar(id, ..) |
| 363 | | Prop(id, ..) => *id, |
| 364 | } |
| 365 | } |
| 366 | |
| 367 | pub fn is_exit(&self) -> bool { |
| 368 | matches!( |
no outgoing calls
no test coverage detected