forked from OSchip/llvm-project
parent
e808a78ac1
commit
c60cecd88b
|
@ -199,12 +199,6 @@ void X86MCCodeEmitter::EmitSegmentOverridePrefix(const MCOperand &Op,
|
||||||
if (Op.getReg() == 0)
|
if (Op.getReg() == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
#if 0
|
|
||||||
// Otherwise, emit an address size prefix if we didn't already emit one.
|
|
||||||
if (Is64BitMode && !(TSFlags & X86II::AdSize))
|
|
||||||
EmitByte(0x67, CurByte, OS);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Check if we need an override.
|
// Check if we need an override.
|
||||||
switch (Op.getReg()) {
|
switch (Op.getReg()) {
|
||||||
case X86::CS: EmitByte(0x2E, CurByte, OS); return;
|
case X86::CS: EmitByte(0x2E, CurByte, OS); return;
|
||||||
|
|
Loading…
Reference in New Issue