diff --git a/lib/Sema/CSSolver.cpp b/lib/Sema/CSSolver.cpp index fe9b48538ed60..271a58d11b82c 100644 --- a/lib/Sema/CSSolver.cpp +++ b/lib/Sema/CSSolver.cpp @@ -28,19 +28,18 @@ using namespace constraints; // Constraint solver statistics //===----------------------------------------------------------------------===// #define DEBUG_TYPE "Constraint solver overall" -#define JOIN(X,Y) JOIN2(X,Y) #define JOIN2(X,Y) X##Y STATISTIC(NumSolutionAttempts, "# of solution attempts"); STATISTIC(TotalNumTypeVariables, "# of type variables created"); #define CS_STATISTIC(Name, Description) \ - STATISTIC(JOIN2(Overall,Name), Description); + STATISTIC(Overall##Name, Description); #include "ConstraintSolverStats.def" #undef DEBUG_TYPE #define DEBUG_TYPE "Constraint solver largest system" #define CS_STATISTIC(Name, Description) \ - STATISTIC(JOIN2(Largest,Name), Description); + STATISTIC(Largest##Name, Description); #include "ConstraintSolverStats.def" STATISTIC(LargestSolutionAttemptNumber, "# of the largest solution attempt"); diff --git a/utils/scale-test b/utils/scale-test index 2ae85b5def00d..ae3885fcf1721 100755 --- a/utils/scale-test +++ b/utils/scale-test @@ -68,7 +68,7 @@ def run_once_with_primary(args, ast, rng, primary_idx): mode = "-c" if args.typecheck: - mode = "-typechec" + mode = "-typecheck" focus = ["-primary-file", primary] if args.whole_module_optimization: diff --git a/validation-test/compiler_scale/callee_analysis_invalidation.gyb b/validation-test/compiler_scale/callee_analysis_invalidation.gyb index 2e437fc4c493f..8f923f25c38b1 100644 --- a/validation-test/compiler_scale/callee_analysis_invalidation.gyb +++ b/validation-test/compiler_scale/callee_analysis_invalidation.gyb @@ -1,5 +1,5 @@ // RUN: %scale-test -O --threshold 0.2 --begin 20 --end 25 --step 1 --select computeMethodCallees %s -// REQUIRES: OS=macosx, tools-release, assertions +// REQUIRES: OS=macosx class C0 { func foo() { diff --git a/validation-test/compiler_scale/scale_neighbouring_getset.gyb b/validation-test/compiler_scale/scale_neighbouring_getset.gyb index 21f01593cac95..4a7f54426ef06 100644 --- a/validation-test/compiler_scale/scale_neighbouring_getset.gyb +++ b/validation-test/compiler_scale/scale_neighbouring_getset.gyb @@ -1,5 +1,5 @@ // RUN: %scale-test --sum-multi --typecheck --begin 5 --end 16 --step 5 --select typeCheckAbstractFunctionBody %s -// REQUIRES: OS=macosx, tools-release, assertions +// REQUIRES: OS=macosx struct Struct${N} { % if int(N) > 1: