[JS IR BE] Support integer operation overflow

This commit is contained in:
Svyatoslav Kuzmich
2018-10-04 13:31:57 +03:00
parent 8013a56286
commit bad9534abd
22 changed files with 283 additions and 99 deletions
@@ -6404,6 +6404,11 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
runTest("js/js.translator/testData/box/number/longUnaryOperations.kt");
}
@TestMetadata("mixedTypesOverflow.kt")
public void testMixedTypesOverflow() throws Exception {
runTest("js/js.translator/testData/box/number/mixedTypesOverflow.kt");
}
@TestMetadata("mulInt32.kt")
public void testMulInt32() throws Exception {
runTest("js/js.translator/testData/box/number/mulInt32.kt");
@@ -6404,6 +6404,11 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
runTest("js/js.translator/testData/box/number/longUnaryOperations.kt");
}
@TestMetadata("mixedTypesOverflow.kt")
public void testMixedTypesOverflow() throws Exception {
runTest("js/js.translator/testData/box/number/mixedTypesOverflow.kt");
}
@TestMetadata("mulInt32.kt")
public void testMulInt32() throws Exception {
runTest("js/js.translator/testData/box/number/mulInt32.kt");