Replace PROLOG_LABEL with a new CFI_INSTRUCTION.
[oota-llvm.git] / include / llvm / CodeGen / MachineModuleInfo.h
index c6bdd33cbc433ab4d08545e85bda0d5a55cb46a2..58835ef41061b274ed2cd770ab322a8db8806f22 100644 (file)
@@ -238,8 +238,10 @@ public:
     return FrameInstructions;
   }
 
-  void addFrameInst(const MCCFIInstruction &Inst) {
+  unsigned LLVM_ATTRIBUTE_UNUSED_RESULT
+  addFrameInst(const MCCFIInstruction &Inst) {
     FrameInstructions.push_back(Inst);
+    return FrameInstructions.size() - 1;
   }
 
   /// getCompactUnwindEncoding - Returns the compact unwind encoding for a