JS: provide overflow behaviour for int binary operations (see KT-7733)

This commit is contained in:
Alexey Andreev
2016-09-19 15:13:28 +03:00
parent 24d5bdd62c
commit 446c4c0a33
11 changed files with 73 additions and 14 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
package foo
// CHECK_CONTAINS_NO_CALLS: multiplyInline
// CHECK_CONTAINS_NO_CALLS: multiplyInline except=imul
// CHECK_NOT_CALLED: runNoinline
internal inline fun multiply(a: Int, b: Int) = a * b