Skip to content

Commit 10f2e45

Browse files
committed
---
yaml --- r: 346747 b: refs/heads/master c: 4b94347 h: refs/heads/master i: 346745: a1f82bf 346743: 697c47e
1 parent 7b26336 commit 10f2e45

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 046c8f3df669af823b082345b9243ccd875fbe5a
2+
refs/heads/master: 4b94347aaebf4310a21fb08cc1a6e4f5e9f7a05a
33
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea

trunk/lib/SILOptimizer/Transforms/PerformanceInliner.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ llvm::cl::opt<bool> EnableSILInliningOfGenerics(
4040
llvm::cl::desc("Enable inlining of generics"));
4141

4242
llvm::cl::opt<bool>
43-
EnableSILAgressiveInlining("sil-agressive-inline", llvm::cl::init(false),
44-
llvm::cl::desc("Enable agressive inlining"));
43+
EnableSILAggressiveInlining("sil-aggressive-inline", llvm::cl::init(false),
44+
llvm::cl::desc("Enable aggressive inlining"));
4545

4646
//===----------------------------------------------------------------------===//
4747
// Performance Inliner
@@ -327,7 +327,7 @@ bool SILPerformanceInliner::isProfitableToInline(
327327
// if AllAccessesBeneficialToInline is true
328328
int ExclusivityBenefitWeight = 0;
329329
int ExclusivityBenefitBase = ExclusivityBenefit;
330-
if (EnableSILAgressiveInlining) {
330+
if (EnableSILAggressiveInlining) {
331331
ExclusivityBenefitBase += 500;
332332
}
333333

0 commit comments

Comments
 (0)