Bug in documentation, TargetRegisterInfo.h

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

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

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


  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