[LLVMdev] Bug in documentation, TargetRegisterInfo.h

Villmow, Micah Micah.Villmow at amd.com
Thu Jan 15 11:40:55 CST 2009


/// emitProlog/emitEpilog - These methods insert prolog and epilog code
into

  /// the function. The return value is the number of instructions

  /// added to (negative if removed from) the basic block (entry for
prologue).

  ///

  virtual void emitPrologue(MachineFunction &MF) const = 0;

  virtual void emitEpilogue(MachineFunction &MF,

                            MachineBasicBlock &MBB) const = 0;

 

 

There is no return type for these functions but the documentation states
that there should be.

 

Micah Villmow

Systems Engineer

Advanced Technology & Performance

Advanced Micro Devices Inc.

S1-609 One AMD Place

Sunnyvale, CA. 94085

P: 408-749-3966

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cs.uiuc.edu/pipermail/llvmdev/attachments/20090115/a082cb2a/attachment.html 


More information about the LLVMdev mailing list