OSDN Git Service

Make consistent use of MCPhysReg instead of uint16_t throughout the tree.
[android-x86/external-llvm.git] / lib / CodeGen / SelectionDAG / InstrEmitter.cpp
index 1c596b8..3c2e26e 100644 (file)
@@ -738,7 +738,7 @@ EmitMachineNode(SDNode *Node, bool IsClone, bool IsCloned,
   const MCInstrDesc &II = TII->get(Opc);
   unsigned NumResults = CountResults(Node);
   unsigned NumDefs = II.getNumDefs();
-  const uint16_t *ScratchRegs = NULL;
+  const MCPhysReg *ScratchRegs = NULL;
 
   // Handle STACKMAP and PATCHPOINT specially and then use the generic code.
   if (Opc == TargetOpcode::STACKMAP || Opc == TargetOpcode::PATCHPOINT) {