Update test data of compiler tests, except IR tests
This commit is contained in:
committed by
Ilya Gorbunov
parent
23c945b002
commit
2d04acba42
@@ -87,7 +87,7 @@ fun box(): String {
|
||||
builder {
|
||||
suspended()
|
||||
}
|
||||
res = (continuation!! as BaseContinuationImpl).getSpilledVariableFieldMapping().toMap()["L$0"] ?: "suspended fail"
|
||||
res = (continuation!! as BaseContinuationImpl).getSpilledVariableFieldMapping()!!.toMap()["L$0"] ?: "suspended fail"
|
||||
if (res != "ss") {
|
||||
return "" + res
|
||||
}
|
||||
@@ -95,12 +95,12 @@ fun box(): String {
|
||||
builder {
|
||||
multipleLocalsInOneSlot()
|
||||
}
|
||||
res = (continuation!! as BaseContinuationImpl).getSpilledVariableFieldMapping().toMap()["I$0"] ?: "multipleLocalsInOneSlot fail 1"
|
||||
res = (continuation!! as BaseContinuationImpl).getSpilledVariableFieldMapping()!!.toMap()["I$0"] ?: "multipleLocalsInOneSlot fail 1"
|
||||
if (res != "first") {
|
||||
return "" + res
|
||||
}
|
||||
continuation!!.resumeWith(SuccessOrFailure.success(Unit))
|
||||
res = (continuation!! as BaseContinuationImpl).getSpilledVariableFieldMapping().toMap()["I$0"] ?: "multipleLocalsInOneSlot fail 2"
|
||||
res = (continuation!! as BaseContinuationImpl).getSpilledVariableFieldMapping()!!.toMap()["I$0"] ?: "multipleLocalsInOneSlot fail 2"
|
||||
if (res != "second") {
|
||||
return "" + res
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user