Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
get size() {
let rawType = this.heap.getbyaddr(this.offset);
return ((rawType & OpcodeSize.OPERAND_LEN_MASK) >> OpcodeSize.ARG_SHIFT) + 1;
}
get isMachine() {
let rawType = this.heap.getbyaddr(this.offset);
return rawType & OpcodeSize.MACHINE_MASK;
}
get type() {
return this.heap.getbyaddr(this.offset) & OpcodeSize.TYPE_MASK;
}