Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/swift/SIL/Dominance.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class DominanceInfo : public llvm::DominatorTreeBase<SILBasicBlock> {

/// Return true if the other dominator tree does not match this dominator
/// tree.
inline bool errorOccuredOnComparison(const DominanceInfo &Other) const {
inline bool errorOccurredOnComparison(const DominanceInfo &Other) const {
const auto *R = getRootNode();
const auto *OtherR = Other.getRootNode();

Expand Down Expand Up @@ -131,7 +131,7 @@ class PostDominanceInfo : public llvm::DominatorTreeBase<SILBasicBlock> {

/// Return true if the other dominator tree does not match this dominator
/// tree.
inline bool errorOccuredOnComparison(const PostDominanceInfo &Other) const {
inline bool errorOccurredOnComparison(const PostDominanceInfo &Other) const {
const auto *R = getRootNode();
const auto *OtherR = Other.getRootNode();

Expand Down
4 changes: 2 additions & 2 deletions lib/SIL/Dominance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ void DominanceInfo::verify() const {
DominanceInfo OtherDT(F);

// And compare.
if (errorOccuredOnComparison(OtherDT)) {
if (errorOccurredOnComparison(OtherDT)) {
llvm::errs() << "DominatorTree is not up to date!\nComputed:\n";
print(llvm::errs());
llvm::errs() << "\nActual:\n";
Expand Down Expand Up @@ -102,7 +102,7 @@ void PostDominanceInfo::verify() const {
PostDominanceInfo OtherDT(F);

// And compare.
if (errorOccuredOnComparison(OtherDT)) {
if (errorOccurredOnComparison(OtherDT)) {
llvm::errs() << "PostDominatorTree is not up to date!\nComputed:\n";
print(llvm::errs());
llvm::errs() << "\nActual:\n";
Expand Down