Emit LOAD_SUPER_ATTR for 0-arg super().method() call. Encodes: (name_idx << 2) | 0b01 (method=1, class=0)
(&mut self, name_idx: u32)
| 9583 | /// Emit LOAD_SUPER_ATTR for 0-arg super().method() call. |
| 9584 | /// Encodes: (name_idx << 2) | 0b01 (method=1, class=0) |
| 9585 | fn emit_load_zero_super_method(&mut self, name_idx: u32) { |
| 9586 | let encoded = LoadSuperAttr::new(name_idx, true, false); |
| 9587 | self.emit_arg(encoded, |namei| Instruction::LoadSuperAttr { namei }) |
| 9588 | } |
| 9589 | |
| 9590 | fn emit_return_value(&mut self) { |
| 9591 | emit!(self, Instruction::ReturnValue) |
no test coverage detected