Skip to content
Snippets Groups Projects
Commit 62f4fcdc authored by clc5q's avatar clc5q
Browse files

Implement HasSegReg() method.

Former-commit-id: 99d63b7a6f1274d935725e3f7a1f70ba3d36479b
parent edf0b91d
No related branches found
No related tags found
No related merge requests found
......@@ -198,7 +198,7 @@ class STARS_IRDB_op_t : public STARS_op_t
}
virtual bool IsNearPointer(void) const { return OpType==op_Addr; }
virtual bool IsFarPointer(void) const { return false; }
virtual bool HasSegReg(void) const { assert(0); } // Has a segment register
virtual bool HasSegReg(void) const { return (SegReg != STARS_x86_R_none); } // Has a segment register
// conversion of op to new type
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment