To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

Commit c429e547 authored by Isaac Oscar Gariano's avatar Isaac Oscar Gariano
Browse files

Implemented missing function

parent deab5cac
......@@ -519,6 +519,14 @@ impl ASMCode {
use std::any::Any;
impl MachineCode for ASMCode {
fn is_nop(&self, index: usize) -> bool {
let ref inst = self.code[index];
if inst.code == "" || inst.code == "NOP" {
true
} else {
false
}
}
fn as_any(&self) -> &Any {
self
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment