Revert "JVM IR: Implement CHECK_NOT_NULL as a lowering"
This reverts commit dcd72b06d8.
Using a temporary variable has an effect on casts and GC.
This commit is contained in:
+5
@@ -3450,6 +3450,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/casts/nullableSafeCastToTypeParameterWithInterfaceUpperBound.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("objectToPrimitiveWithAssertion.kt")
|
||||
public void testObjectToPrimitiveWithAssertion() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/casts/objectToPrimitiveWithAssertion.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unitAsAny.kt")
|
||||
public void testUnitAsAny() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/casts/unitAsAny.kt");
|
||||
|
||||
Reference in New Issue
Block a user