Remove 'param' label from comments. They aren't used properly here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189970 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2013-09-04 18:48:12 +00:00
parent 0fb771667e
commit ca7b43d01d

View File

@ -315,15 +315,14 @@ private:
public: public:
/// \brief .cfi_def_cfa defines a rule for computing CFA as: take address from /// \brief .cfi_def_cfa defines a rule for computing CFA as: take address from
/// \param Register and add \param Offset to it. /// Register and add Offset to it.
static MCCFIInstruction createDefCfa(MCSymbol *L, unsigned Register, static MCCFIInstruction createDefCfa(MCSymbol *L, unsigned Register,
int Offset) { int Offset) {
return MCCFIInstruction(OpDefCfa, L, Register, -Offset, ""); return MCCFIInstruction(OpDefCfa, L, Register, -Offset, "");
} }
/// \brief .cfi_def_cfa_register modifies a rule for computing CFA. From now /// \brief .cfi_def_cfa_register modifies a rule for computing CFA. From now
/// on \param Register will be used instead of the old one. Offset remains the /// on Register will be used instead of the old one. Offset remains the same.
/// same.
static MCCFIInstruction createDefCfaRegister(MCSymbol *L, unsigned Register) { static MCCFIInstruction createDefCfaRegister(MCSymbol *L, unsigned Register) {
return MCCFIInstruction(OpDefCfaRegister, L, Register, 0, ""); return MCCFIInstruction(OpDefCfaRegister, L, Register, 0, "");
} }
@ -342,16 +341,16 @@ public:
return MCCFIInstruction(OpAdjustCfaOffset, L, 0, Adjustment, ""); return MCCFIInstruction(OpAdjustCfaOffset, L, 0, Adjustment, "");
} }
/// \brief .cfi_offset Previous value of \param Register is saved at offset /// \brief .cfi_offset Previous value of Register is saved at offset Offset
/// \param Offset from CFA. /// from CFA.
static MCCFIInstruction createOffset(MCSymbol *L, unsigned Register, static MCCFIInstruction createOffset(MCSymbol *L, unsigned Register,
int Offset) { int Offset) {
return MCCFIInstruction(OpOffset, L, Register, Offset, ""); return MCCFIInstruction(OpOffset, L, Register, Offset, "");
} }
/// \brief .cfi_rel_offset Previous value of \param Register is saved at /// \brief .cfi_rel_offset Previous value of Register is saved at offset
/// offset \param Offset from the current CFA register. This is transformed to /// Offset from the current CFA register. This is transformed to .cfi_offset
/// .cfi_offset using the known displacement of the CFA register from the CFA. /// using the known displacement of the CFA register from the CFA.
static MCCFIInstruction createRelOffset(MCSymbol *L, unsigned Register, static MCCFIInstruction createRelOffset(MCSymbol *L, unsigned Register,
int Offset) { int Offset) {
return MCCFIInstruction(OpRelOffset, L, Register, Offset, ""); return MCCFIInstruction(OpRelOffset, L, Register, Offset, "");
@ -364,21 +363,21 @@ public:
return MCCFIInstruction(OpRegister, L, Register1, Register2); return MCCFIInstruction(OpRegister, L, Register1, Register2);
} }
/// \brief .cfi_restore says that the rule for \param Register is now the same /// \brief .cfi_restore says that the rule for Register is now the same as it
/// as it was at the beginning of the function, after all initial instructions /// was at the beginning of the function, after all initial instructions added
/// added by .cfi_startproc were executed. /// by .cfi_startproc were executed.
static MCCFIInstruction createRestore(MCSymbol *L, unsigned Register) { static MCCFIInstruction createRestore(MCSymbol *L, unsigned Register) {
return MCCFIInstruction(OpRestore, L, Register, 0, ""); return MCCFIInstruction(OpRestore, L, Register, 0, "");
} }
/// \brief .cfi_undefined From now on the previous value of \param Register /// \brief .cfi_undefined From now on the previous value of Register can't be
/// can't be restored anymore. /// restored anymore.
static MCCFIInstruction createUndefined(MCSymbol *L, unsigned Register) { static MCCFIInstruction createUndefined(MCSymbol *L, unsigned Register) {
return MCCFIInstruction(OpUndefined, L, Register, 0, ""); return MCCFIInstruction(OpUndefined, L, Register, 0, "");
} }
/// \brief .cfi_same_value Current value of \param Register is the same as /// \brief .cfi_same_value Current value of Register is the same as in the
/// in the previous frame. I.e., no restoration is needed. /// previous frame. I.e., no restoration is needed.
static MCCFIInstruction createSameValue(MCSymbol *L, unsigned Register) { static MCCFIInstruction createSameValue(MCSymbol *L, unsigned Register) {
return MCCFIInstruction(OpSameValue, L, Register, 0, ""); return MCCFIInstruction(OpSameValue, L, Register, 0, "");
} }