[llvm] r280048 - Fix coding style; NFC

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 29 18:38:59 PDT 2016


Author: sanjoy
Date: Mon Aug 29 20:38:59 2016
New Revision: 280048

URL: http://llvm.org/viewvc/llvm-project?rev=280048&view=rev
Log:
Fix coding style; NFC

Avoid variables starting with lowercase.

Modified:
    llvm/trunk/lib/CodeGen/TargetInstrInfo.cpp

Modified: llvm/trunk/lib/CodeGen/TargetInstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/TargetInstrInfo.cpp?rev=280048&r1=280047&r2=280048&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/TargetInstrInfo.cpp (original)
+++ llvm/trunk/lib/CodeGen/TargetInstrInfo.cpp Mon Aug 29 20:38:59 2016
@@ -439,15 +439,13 @@ static MachineInstr *foldPatchpoint(Mach
   switch (MI.getOpcode()) {
   case TargetOpcode::STACKMAP: {
     // StackMapLiveValues are foldable
-    StackMapOpers opers(&MI);
-    StartIdx = opers.getVarIdx();
+    StartIdx = StackMapOpers(&MI).getVarIdx();
     break;
   }
   case TargetOpcode::PATCHPOINT: {
     // For PatchPoint, the call args are not foldable (even if reported in the
     // stackmap e.g. via anyregcc).
-    PatchPointOpers opers(&MI);
-    StartIdx = opers.getVarIdx();
+    StartIdx = PatchPointOpers(&MI).getVarIdx();
     break;
   }
   default:




More information about the llvm-commits mailing list