Skip to content

Commit e5a05ff

Browse files
committed
cleanup
1 parent 1f751ce commit e5a05ff

File tree

5 files changed

+1
-1324
lines changed

5 files changed

+1
-1324
lines changed

include/SourceKit/Config/config.h

Lines changed: 0 additions & 9 deletions
This file was deleted.

lib/SIL/Verifier/SILVerifier.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ class SILVerifier : public SILVerifierBase<SILVerifier> {
872872
/// Assert that two types are equal.
873873
void requireSameType(SILType type1, SILType type2, const Twine &complaint) {
874874
_require(type1 == type2, complaint,
875-
[&] { llvm::dbgs() << " " << type1 << "\n " << type2 << '\n'; });
875+
[&] { llvm::dbgs() << " " << type1 << "\n " << type2 << '\n'; });
876876
}
877877

878878
/// Require two function types to be ABI-compatible.
@@ -1641,10 +1641,6 @@ class SILVerifier : public SILVerifierBase<SILVerifier> {
16411641

16421642
// Check that the arguments and result match.
16431643
SILFunctionConventions substConv(substTy, F.getModule());
1644-
if (site.getArguments().size() != substConv.getNumSILArguments()) {
1645-
fprintf(stderr, "[%s:%d] (%s) site arguments size: %d\n", __FILE__, __LINE__, __FUNCTION__, site.getArguments().size());
1646-
fprintf(stderr, "[%s:%d] (%s) substConv.getNumSILArguments(): %d\n", __FILE__, __LINE__, __FUNCTION__, substConv.getNumSILArguments());
1647-
}
16481644
require(site.getNumArguments() == substConv.getNumSILArguments(),
16491645
"apply doesn't have right number of arguments for function");
16501646
for (size_t i = 0, size = site.getNumArguments(); i < size; ++i) {

lib/cmake/swift/SwiftConfig.cmake

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)