From 3cceb13d045fb4bd1c29310e2447d9e41b692235 Mon Sep 17 00:00:00 2001 From: Ilmir Usmanov Date: Mon, 16 Apr 2018 21:58:55 +0300 Subject: [PATCH] Update inliner test after changing bootstrap compiler --- .../smap/defaultLambda/inlinInDefault.kt | 24 ++++++---- .../smap/defaultLambda/inlinInDefault2.kt | 32 ++++++++----- .../inlineAnonymousInDefault2.kt | 48 ++++++++++++------- .../boxInline/smap/defaultLambda/kt21827.kt | 22 +++++---- 4 files changed, 78 insertions(+), 48 deletions(-) diff --git a/compiler/testData/codegen/boxInline/smap/defaultLambda/inlinInDefault.kt b/compiler/testData/codegen/boxInline/smap/defaultLambda/inlinInDefault.kt index 77ab330c0e0..512ce09324e 100644 --- a/compiler/testData/codegen/boxInline/smap/defaultLambda/inlinInDefault.kt +++ b/compiler/testData/codegen/boxInline/smap/defaultLambda/inlinInDefault.kt @@ -89,24 +89,30 @@ Kotlin _2Kt + 2 Standard.kt kotlin/StandardKt__StandardKt -+ 3 1.kt -test/_1Kt ++ 3 ContractBuilder.kt +kotlin/internal/contracts/ContractBuilderKt + 4 1.kt +test/_1Kt ++ 5 1.kt test/_1Kt$lParams$1 *L 1#1,10:1 -34#2,4:11 -31#3,5:15 -29#3:21 -32#4:20 +34#2:11 +37#2:13 +43#3:12 +31#4,5:14 +29#4:20 +32#5:19 *E *S KotlinDebug *F + 1 2.kt _2Kt *L -5#1,4:11 -5#1,5:15 -5#1:21 +5#1:11 +5#1:13 +5#1:12 +5#1,5:14 5#1:20 +5#1:19 *E \ No newline at end of file diff --git a/compiler/testData/codegen/boxInline/smap/defaultLambda/inlinInDefault2.kt b/compiler/testData/codegen/boxInline/smap/defaultLambda/inlinInDefault2.kt index de183eeea8b..28788a210fc 100644 --- a/compiler/testData/codegen/boxInline/smap/defaultLambda/inlinInDefault2.kt +++ b/compiler/testData/codegen/boxInline/smap/defaultLambda/inlinInDefault2.kt @@ -125,28 +125,34 @@ Kotlin _2Kt + 2 Standard.kt kotlin/StandardKt__StandardKt -+ 3 1.kt -test/_1Kt ++ 3 ContractBuilder.kt +kotlin/internal/contracts/ContractBuilderKt + 4 1.kt +test/_1Kt ++ 5 1.kt test/_1Kt$lParams$1 *L 1#1,10:1 -34#2,4:11 -31#3:15 -70#3,2:16 -29#3:19 -50#4:18 -68#4:20 +34#2:11 +37#2:13 +43#3:12 +31#4:14 +70#4,2:15 +29#4:18 +50#5:17 +68#5:19 *E *S KotlinDebug *F + 1 2.kt _2Kt *L -5#1,4:11 -5#1:15 -5#1,2:16 -5#1:19 +5#1:11 +5#1:13 +5#1:12 +5#1:14 +5#1,2:15 5#1:18 -5#1:20 +5#1:17 +5#1:19 *E \ No newline at end of file diff --git a/compiler/testData/codegen/boxInline/smap/defaultLambda/inlineAnonymousInDefault2.kt b/compiler/testData/codegen/boxInline/smap/defaultLambda/inlineAnonymousInDefault2.kt index 4e81a01a0ff..b959258c07c 100644 --- a/compiler/testData/codegen/boxInline/smap/defaultLambda/inlineAnonymousInDefault2.kt +++ b/compiler/testData/codegen/boxInline/smap/defaultLambda/inlineAnonymousInDefault2.kt @@ -114,26 +114,32 @@ Kotlin _2Kt + 2 Standard.kt kotlin/StandardKt__StandardKt -+ 3 1.kt -test/_1Kt ++ 3 ContractBuilder.kt +kotlin/internal/contracts/ContractBuilderKt + 4 1.kt +test/_1Kt ++ 5 1.kt test/_1Kt$lParams$1 *L 1#1,10:1 -34#2,4:11 -31#3,5:15 -29#3:21 -32#4:20 +34#2:11 +37#2:13 +43#3:12 +31#4,5:14 +29#4:20 +32#5:19 *E *S KotlinDebug *F + 1 2.kt _2Kt *L -5#1,4:11 -5#1,5:15 -5#1:21 +5#1:11 +5#1:13 +5#1:12 +5#1,5:14 5#1:20 +5#1:19 *E // FILE: 2.smap-separate-compilation @@ -146,26 +152,32 @@ Kotlin _2Kt + 2 Standard.kt kotlin/StandardKt__StandardKt -+ 3 1.kt -test/_1Kt ++ 3 ContractBuilder.kt +kotlin/internal/contracts/ContractBuilderKt + 4 1.kt +test/_1Kt ++ 5 1.kt test/_1Kt$lParams$1 *L 1#1,10:1 -34#2,4:11 -31#3,5:15 -29#3:21 -32#4:20 +34#2:11 +37#2:13 +43#3:12 +31#4,5:14 +29#4:20 +32#5:19 *E *S KotlinDebug *F + 1 2.kt _2Kt *L -5#1,4:11 -5#1,5:15 -5#1:21 +5#1:11 +5#1:13 +5#1:12 +5#1,5:14 5#1:20 +5#1:19 *E SMAP diff --git a/compiler/testData/codegen/boxInline/smap/defaultLambda/kt21827.kt b/compiler/testData/codegen/boxInline/smap/defaultLambda/kt21827.kt index 409f714f259..6eeef6e72ca 100644 --- a/compiler/testData/codegen/boxInline/smap/defaultLambda/kt21827.kt +++ b/compiler/testData/codegen/boxInline/smap/defaultLambda/kt21827.kt @@ -78,22 +78,28 @@ Kotlin _2Kt + 2 Standard.kt kotlin/StandardKt__StandardKt -+ 3 1.kt -test/_1Kt ++ 3 ContractBuilder.kt +kotlin/internal/contracts/ContractBuilderKt + 4 1.kt +test/_1Kt ++ 5 1.kt test/_1Kt$lParams$1 *L 1#1,10:1 -34#2,4:11 -30#3,5:15 -31#4:20 +34#2:11 +37#2:13 +43#3:12 +30#4,5:14 +31#5:19 *E *S KotlinDebug *F + 1 2.kt _2Kt *L -5#1,4:11 -5#1,5:15 -5#1:20 +5#1:11 +5#1:13 +5#1:12 +5#1,5:14 +5#1:19 *E \ No newline at end of file