Skip to content

Commit 6e3f231

Browse files
committed
Correct a typo of mine.
1 parent 3ef930c commit 6e3f231

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/swift/SIL/SILValue.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,8 @@ class ValueBase : public SILNode, public SILAllocated<ValueBase> {
467467
/// For instruction results, this returns getDefiningInstruction(). For
468468
/// arguments, this returns SILBasicBlock::begin() for the argument's parent
469469
/// block. Returns nullptr for SILUndef.
470+
///
471+
/// FIXME: remove this redundant API from SILValue.
470472
SILInstruction *getDefiningInsertionPoint();
471473

472474
// Const version of \see getDefiningInsertionPoint.
@@ -603,8 +605,6 @@ class SILValue {
603605

604606
/// If this SILValue is a result of an instruction, return its
605607
/// defining instruction. Returns nullptr otherwise.
606-
///
607-
/// FIXME: remove this redundant API from SILValue.
608608
SILInstruction *getDefiningInstruction() {
609609
return Value->getDefiningInstruction();
610610
}

0 commit comments

Comments
 (0)