[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineInstrAnnot.h

Vikram Adve vadve at cs.uiuc.edu
Sat Sep 28 12:04:06 PDT 2002


Changes in directory llvm/include/llvm/CodeGen:

MachineInstrAnnot.h updated: 1.5 -> 1.6

---
Log message:

Fixed method getReturnValue(): it should return NULL if the
callee does not return a value.


---
Diffs of the changes:

Index: llvm/include/llvm/CodeGen/MachineInstrAnnot.h
diff -u llvm/include/llvm/CodeGen/MachineInstrAnnot.h:1.5 llvm/include/llvm/CodeGen/MachineInstrAnnot.h:1.6
--- llvm/include/llvm/CodeGen/MachineInstrAnnot.h:1.5	Fri Aug  9 15:07:36 2002
+++ llvm/include/llvm/CodeGen/MachineInstrAnnot.h	Sat Sep 28 12:03:54 2002
@@ -68,12 +68,12 @@
   unsigned int    getNumArgs() const          { return argInfoVec.size(); }
   CallArgInfo&    getArgInfo(unsigned int op) { assert(op < argInfoVec.size());
                                                 return argInfoVec[op]; }
-  const CallInst* getReturnValue() const      { return callInstr; }
+  const CallInst* getReturnValue() const;
   const Value*    getIndirectFuncPtr() const  { return funcPtr; }
   TmpInstruction* getReturnAddrReg() const    { return retAddrReg; }
   bool            isVarArgsFunc() const       { return isVarArgs; }
   bool            hasNoPrototype() const      { return noPrototype; }
-  
+
   // Annotation mechanism to annotate a MachineInstr with the descriptor.
   // This is not demand-driven because annotations can only be created
   // at restricted points during code generation.





More information about the llvm-commits mailing list