Created
June 20, 2016 12:49
-
-
Save sjrd/53e8c486e992a95f2cc81caaecb4d569 to your computer and use it in GitHub Desktop.
Test suite diff of #2479
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- ../scalajs-test-suite-test-fastopt.js 2016-06-20 11:59:45.273513648 +0200 | |
| +++ test-suite/js/target/scala-2.11/scalajs-test-suite-test-fastopt.js 2016-06-20 14:35:19.945320230 +0200 | |
| @@ -8937,7 +8937,7 @@ | |
| source.addAll__ju_Collection__Z($s_sc_convert_WrapAsJava$class__seqAsJavaList__sc_convert_WrapAsJava__sc_Seq__ju_List(this$45, seq$3)); | |
| var this$53 = $m_Lorg_junit_Assert$(); | |
| var this$46 = $$this.range__sci_Range(); | |
| - var expected$2 = $imul(2, this$46.length__I()); | |
| + var expected$2 = (this$46.length__I() << 1); | |
| var targetSize$4 = target.size__I(); | |
| if ((targetSize$4 === 0)) { | |
| var actual$4 = source.size__I() | |
| @@ -9196,7 +9196,7 @@ | |
| source$1.addAll__ju_Collection__Z($s_sc_convert_WrapAsJava$class__seqAsJavaList__sc_convert_WrapAsJava__sc_Seq__ju_List(this$113, seq$7)); | |
| var this$121 = $m_Lorg_junit_Assert$(); | |
| var this$114 = $$this.range__sci_Range(); | |
| - var expected$6 = $imul(2, this$114.length__I()); | |
| + var expected$6 = (this$114.length__I() << 1); | |
| var targetSize$11 = target$1.size__I(); | |
| if ((targetSize$11 === 0)) { | |
| var actual$11 = source$1.size__I() | |
| @@ -9454,7 +9454,7 @@ | |
| source$2.addAll__ju_Collection__Z($s_sc_convert_WrapAsJava$class__seqAsJavaList__sc_convert_WrapAsJava__sc_Seq__ju_List(this$181, seq$11)); | |
| var this$189 = $m_Lorg_junit_Assert$(); | |
| var this$182 = $$this.range__sci_Range(); | |
| - var expected$10 = $imul(2, this$182.length__I()); | |
| + var expected$10 = (this$182.length__I() << 1); | |
| var targetSize$18 = target$2.size__I(); | |
| if ((targetSize$18 === 0)) { | |
| var actual$18 = source$2.size__I() | |
| @@ -9712,7 +9712,7 @@ | |
| source$3.addAll__ju_Collection__Z($s_sc_convert_WrapAsJava$class__seqAsJavaList__sc_convert_WrapAsJava__sc_Seq__ju_List(this$248, seq$15)); | |
| var this$256 = $m_Lorg_junit_Assert$(); | |
| var this$249 = $$this.range__sci_Range(); | |
| - var expected$14 = $imul(2, this$249.length__I()); | |
| + var expected$14 = (this$249.length__I() << 1); | |
| var targetSize$25 = target$3.size__I(); | |
| if ((targetSize$25 === 0)) { | |
| var actual$25 = source$3.size__I() | |
| @@ -14547,7 +14547,7 @@ | |
| } | |
| } | |
| function $s_Lorg_scalajs_testsuite_typedarray_TypedArrayTest$class__byteOffset__Lorg_scalajs_testsuite_typedarray_TypedArrayTest__V($$this) { | |
| - var end = $imul(4, $$this.bytesPerElement__I()); | |
| + var end = ($$this.bytesPerElement__I() << 2); | |
| var isEmpty$4 = (end <= 0); | |
| if (isEmpty$4) { | |
| /*<skip>*/ | |
| @@ -14828,7 +14828,7 @@ | |
| this$1.assertSame__T__O__O__V(null, expected, actual) | |
| } | |
| function $s_Lorg_scalajs_testsuite_typedarray_TypedArrayTest$class__byteLength__Lorg_scalajs_testsuite_typedarray_TypedArrayTest__V($$this) { | |
| - var end = $imul(4, $$this.bytesPerElement__I()); | |
| + var end = ($$this.bytesPerElement__I() << 2); | |
| var isEmpty$4 = (end <= 0); | |
| if (isEmpty$4) { | |
| /*<skip>*/ | |
| @@ -17070,7 +17070,7 @@ | |
| var i = 0; | |
| while ((i < $$this.nwords__I())) { | |
| var w = $$this.word__I__J(i); | |
| - var j = $imul(64, i); | |
| + var j = (i << 6); | |
| while (w.notEquals__sjsr_RuntimeLong__Z($m_sjsr_RuntimeLong$().Zero__sjsr_RuntimeLong())) { | |
| if (new $c_sjsr_RuntimeLong().init___I__I(1, 0).$$amp__sjsr_RuntimeLong__sjsr_RuntimeLong(w).equals__sjsr_RuntimeLong__Z(new $c_sjsr_RuntimeLong().init___I__I(1, 0))) { | |
| f.apply__O__O(j) | |
| @@ -17093,7 +17093,7 @@ | |
| function $s_sc_BitSetLike$class__addString__sc_BitSetLike__scm_StringBuilder__T__T__T__scm_StringBuilder($$this, sb, start, sep, end) { | |
| sb.append__T__scm_StringBuilder(start); | |
| var pre = ""; | |
| - var max = $imul(64, $$this.nwords__I()); | |
| + var max = ($$this.nwords__I() << 6); | |
| var i = 0; | |
| while ((i !== max)) { | |
| var elem = i; | |
| @@ -19279,7 +19279,7 @@ | |
| } | |
| function $s_scm_FlatHashTable$class__growTable__p0__scm_FlatHashTable__V($$this) { | |
| var oldtable = $$this.table$5; | |
| - $$this.table$5 = $newArrayObject($d_O.getArrayOf(), [$imul(2, $$this.table$5.u.length)]); | |
| + $$this.table$5 = $newArrayObject($d_O.getArrayOf(), [($$this.table$5.u.length << 1)]); | |
| $$this.tableSize$5 = 0; | |
| var tableLength = $$this.table$5.u.length; | |
| $s_scm_FlatHashTable$class__nnSizeMapReset__scm_FlatHashTable__I__V($$this, tableLength); | |
| @@ -19599,7 +19599,7 @@ | |
| $$this.tableSize$und$eq__I__V(((1 + $$this.tableSize__I()) | 0)); | |
| $s_scm_HashTable$class__nnSizeMapAdd__scm_HashTable__I__V($$this, h); | |
| if (($$this.tableSize__I() > $$this.threshold__I())) { | |
| - $s_scm_HashTable$class__resize__p0__scm_HashTable__I__V($$this, $imul(2, $$this.table__Ascm_HashEntry().u.length)) | |
| + $s_scm_HashTable$class__resize__p0__scm_HashTable__I__V($$this, ($$this.table__Ascm_HashEntry().u.length << 1)) | |
| } | |
| } | |
| function $s_scm_HashTable$class__initialThreshold__p0__scm_HashTable__I__I($$this, _loadFactor) { | |
| @@ -19739,9 +19739,9 @@ | |
| function $s_scm_ResizableArray$class__ensureSize__scm_ResizableArray__I__V($$this, n) { | |
| var arrayLength = new $c_sjsr_RuntimeLong().init___I($$this.array__AO().u.length); | |
| if (new $c_sjsr_RuntimeLong().init___I(n).$$greater__sjsr_RuntimeLong__Z(arrayLength)) { | |
| - var newSize = new $c_sjsr_RuntimeLong().init___I__I(2, 0).$$times__sjsr_RuntimeLong__sjsr_RuntimeLong(arrayLength); | |
| + var newSize = arrayLength.$$less$less__I__sjsr_RuntimeLong(1); | |
| while (new $c_sjsr_RuntimeLong().init___I(n).$$greater__sjsr_RuntimeLong__Z(newSize)) { | |
| - newSize = new $c_sjsr_RuntimeLong().init___I__I(2, 0).$$times__sjsr_RuntimeLong__sjsr_RuntimeLong(newSize) | |
| + newSize = newSize.$$less$less__I__sjsr_RuntimeLong(1) | |
| }; | |
| if (newSize.$$greater__sjsr_RuntimeLong__Z(new $c_sjsr_RuntimeLong().init___I__I(2147483647, 0))) { | |
| newSize = new $c_sjsr_RuntimeLong().init___I__I(2147483647, 0) | |
| @@ -21600,7 +21600,7 @@ | |
| if ((!p.testBit__I__Z(0))) { | |
| return this.modInverseLorencz__Ljava_math_BigInteger__Ljava_math_BigInteger__Ljava_math_BigInteger(a, p) | |
| }; | |
| - var m = $imul(32, p.numberLength$2); | |
| + var m = (p.numberLength$2 << 5); | |
| var u = p.copy__Ljava_math_BigInteger(); | |
| var v = a.copy__Ljava_math_BigInteger(); | |
| var a$1 = v.numberLength$2; | |
| @@ -21660,7 +21660,7 @@ | |
| var n1 = this.calcN__p1__Ljava_math_BigInteger__I(p); | |
| if ((elem$1 > m)) { | |
| var r2 = this.monPro__Ljava_math_BigInteger__Ljava_math_BigInteger__Ljava_math_BigInteger__I__Ljava_math_BigInteger($m_Ljava_math_Elementary$().subtract__Ljava_math_BigInteger__Ljava_math_BigInteger__Ljava_math_BigInteger(p, r), $m_Ljava_math_BigInteger$().ONE$1, p, n1); | |
| - return this.monPro__Ljava_math_BigInteger__Ljava_math_BigInteger__Ljava_math_BigInteger__I__Ljava_math_BigInteger(r2, $m_Ljava_math_BigInteger$().getPowerOfTwo__I__Ljava_math_BigInteger((($imul(2, m) - elem$1) | 0)), p, n1) | |
| + return this.monPro__Ljava_math_BigInteger__Ljava_math_BigInteger__Ljava_math_BigInteger__I__Ljava_math_BigInteger(r2, $m_Ljava_math_BigInteger$().getPowerOfTwo__I__Ljava_math_BigInteger((((m << 1) - elem$1) | 0)), p, n1) | |
| } else { | |
| return this.monPro__Ljava_math_BigInteger__Ljava_math_BigInteger__Ljava_math_BigInteger__I__Ljava_math_BigInteger($m_Ljava_math_Elementary$().subtract__Ljava_math_BigInteger__Ljava_math_BigInteger__Ljava_math_BigInteger(p, r), $m_Ljava_math_BigInteger$().getPowerOfTwo__I__Ljava_math_BigInteger(((m - elem$1) | 0)), p, n1) | |
| } | |
| @@ -25418,7 +25418,7 @@ | |
| if ((out.$$undcapacity$1 === 0)) { | |
| return $m_Ljava_nio_CharBuffer$().allocate__I__Ljava_nio_CharBuffer(1) | |
| } else { | |
| - var result = $m_Ljava_nio_CharBuffer$().allocate__I__Ljava_nio_CharBuffer($imul(2, out.$$undcapacity$1)); | |
| + var result = $m_Ljava_nio_CharBuffer$().allocate__I__Ljava_nio_CharBuffer((out.$$undcapacity$1 << 1)); | |
| out.flip__Ljava_nio_Buffer(); | |
| result.put__Ljava_nio_CharBuffer__Ljava_nio_CharBuffer(out); | |
| return result | |
| @@ -25468,7 +25468,7 @@ | |
| if ((out.$$undcapacity$1 === 0)) { | |
| return $m_Ljava_nio_ByteBuffer$().allocate__I__Ljava_nio_ByteBuffer(1) | |
| } else { | |
| - var result = $m_Ljava_nio_ByteBuffer$().allocate__I__Ljava_nio_ByteBuffer($imul(2, out.$$undcapacity$1)); | |
| + var result = $m_Ljava_nio_ByteBuffer$().allocate__I__Ljava_nio_ByteBuffer((out.$$undcapacity$1 << 1)); | |
| out.flip__Ljava_nio_Buffer(); | |
| result.put__Ljava_nio_ByteBuffer__Ljava_nio_ByteBuffer(out); | |
| return result | |
| @@ -25581,7 +25581,7 @@ | |
| _loop: while (true) { | |
| var result = decoder.decode__Ljava_nio_ByteBuffer__Ljava_nio_CharBuffer__Z__Ljava_nio_charset_CoderResult(replBuf, $m_Ljava_nio_CharBuffer$().allocate__I__Ljava_nio_CharBuffer(outBufSize), true); | |
| if ((result.java$nio$charset$CoderResult$$kind$f === 1)) { | |
| - outBufSize = $imul(2, outBufSize); | |
| + outBufSize = (outBufSize << 1); | |
| continue _loop | |
| } else { | |
| return (replBuf.java$nio$Buffer$$$undposition$1 === replBuf.$$undlimit$1) | |
| @@ -101682,7 +105178,7 @@ | |
| var this$2 = $m_s_concurrent_impl_Future$().apply__F0__s_concurrent_ExecutionContext__s_concurrent_Future(body, ec); | |
| var f = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$2) { | |
| var x = $uI(x$2); | |
| - return $imul(2, x) | |
| + return (x << 1) | |
| })); | |
| var f$1 = $s_s_concurrent_Future$class__map__s_concurrent_Future__F1__s_concurrent_ExecutionContext__s_concurrent_Future(this$2, f, ec); | |
| var this$3 = $m_Lorg_junit_Assert$(); | |
| @@ -101711,7 +105207,7 @@ | |
| return (function(x$2) { | |
| var x = $uI(x$2); | |
| steps$1$1.$$plus$eq__O__scm_ArrayBuffer("map"); | |
| - return $imul(2, x) | |
| + return (x << 1) | |
| }) | |
| })(steps)); | |
| var f2 = $s_s_concurrent_Future$class__map__s_concurrent_Future__F1__s_concurrent_ExecutionContext__s_concurrent_Future(f1, f, executor); | |
| @@ -105537,7 +109033,7 @@ | |
| return this.foo__I__I(x) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_ExportsTest$A$4.prototype.foo__I__I = (function(x) { | |
| - return $imul(2, x) | |
| + return (x << 1) | |
| }); | |
| var $d_Lorg_scalajs_testsuite_jsinterop_ExportsTest$A$4 = new $TypeData().initClass({ | |
| Lorg_scalajs_testsuite_jsinterop_ExportsTest$A$4: 0 | |
| @@ -105940,7 +109436,7 @@ | |
| return (void 0) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_ExportsTest$Foo$10.prototype.$double__I__I = (function(x) { | |
| - return $imul(2, x) | |
| + return (x << 1) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_ExportsTest$Foo$10.prototype.notifyAll__ = (function() { | |
| return (void 0) | |
| @@ -106121,7 +109617,7 @@ | |
| return this.y__T() | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_ExportsTest$Foo$13.prototype.doubleX__I = (function() { | |
| - return $imul(2, this.x$1) | |
| + return (this.x$1 << 1) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_ExportsTest$Foo$13.prototype.clone__ = (function() { | |
| if ($is_jl_Cloneable(this)) { | |
| @@ -106220,7 +109716,7 @@ | |
| this.ySetter$und$eq__T__V(v) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_ExportsTest$Foo$14.prototype.doubleXScala__I = (function() { | |
| - return $imul(2, this.xScala$1) | |
| + return (this.xScala$1 << 1) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_ExportsTest$Foo$14.prototype.ySetter$und$eq__T__V = (function(v) { | |
| this.myY$1 = (v + " set") | |
| @@ -106366,7 +109862,7 @@ | |
| return 42 | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_ExportsTest$Foo$16.prototype.bar__I__I = (function(x) { | |
| - return $imul(2, x) | |
| + return (x << 1) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_ExportsTest$Foo$16.prototype.$$js$exported$meth$foobar__I__O = (function(x) { | |
| return this.bar__I__I(x) | |
| @@ -107704,7 +111200,7 @@ | |
| return 42 | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_ExportsTest$Foo$9.prototype.$double__I__I = (function(x) { | |
| - return $imul(2, x) | |
| + return (x << 1) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_ExportsTest$Foo$9.prototype.notifyAll__ = (function() { | |
| return (void 0) | |
| @@ -108472,7 +111968,7 @@ | |
| var x = { | |
| "x": 5 | |
| }; | |
| - elem$1 = $imul(2, elem$1); | |
| + elem$1 = (elem$1 << 1); | |
| var condition = $uZ(("x" in x)); | |
| this$3.assertTrue__T__Z__V(null, condition); | |
| var this$4 = $m_Lorg_junit_Assert$(); | |
| @@ -127290,7 +130786,7 @@ | |
| return (void 0) | |
| }); | |
| $c_Lorg_scalajs_testsuite_library_StackTraceTest$Bar.prototype.g__I__I = (function(x) { | |
| - return new $c_Lorg_scalajs_testsuite_library_StackTraceTest$Foo().init___().f__I__I($imul(2, x)) | |
| + return new $c_Lorg_scalajs_testsuite_library_StackTraceTest$Foo().init___().f__I__I((x << 1)) | |
| }); | |
| $c_Lorg_scalajs_testsuite_library_StackTraceTest$Bar.prototype.clone__ = (function() { | |
| if ($is_jl_Cloneable(this)) { | |
| @@ -128907,7 +132403,7 @@ | |
| } | |
| $h_Lorg_scalajs_testsuite_library_UseAsScalaTypesTest$A$9.prototype = $c_Lorg_scalajs_testsuite_library_UseAsScalaTypesTest$A$9.prototype; | |
| $c_Lorg_scalajs_testsuite_library_UseAsScalaTypesTest$A$9.prototype.apply__I__I = (function(x) { | |
| - return $imul(2, x) | |
| + return (x << 1) | |
| }); | |
| $c_Lorg_scalajs_testsuite_library_UseAsScalaTypesTest$A$9.prototype.$$js$exported$meth$bar__I__O = (function(x) { | |
| return this.apply__I__I(x) | |
| @@ -129455,7 +132951,7 @@ | |
| var v = arg1.$$und2$mcI$sp__I(); | |
| var c = (65535 & $uI(k.charCodeAt(0))); | |
| var self = new $c_jl_Character().init___C(c); | |
| - var y = $imul(2, v); | |
| + var y = (v << 1); | |
| var jsx$1 = new $c_T2().init___O__O(self, y) | |
| } else { | |
| var jsx$1; | |
| @@ -129474,7 +132970,7 @@ | |
| var v$1 = arg1$1.$$und2$mcI$sp__I(); | |
| var c$1 = (65535 & $uI(k$1.charCodeAt(0))); | |
| var self$1 = $as_T($g.String.fromCharCode(c$1)); | |
| - var y$1 = $imul(2, v$1); | |
| + var y$1 = (v$1 << 1); | |
| var elem_$_$$und1$f = self$1; | |
| var elem_$_$$und2$f = y$1 | |
| } else { | |
| @@ -187475,7 +190978,7 @@ | |
| } | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_ExportsTest$Bar$1.prototype.method__I__I = (function(x) { | |
| - return $imul(2, x) | |
| + return (x << 1) | |
| }); | |
| $c_Lorg_scalajs_testsuite_jsinterop_ExportsTest$Bar$1.prototype.method = (function(arg$1) { | |
| var prep0 = $uI(arg$1); | |
| @@ -250138,7 +253641,7 @@ | |
| if (($m_Ljava_math_BitLevel$().bitLength__Ljava_math_BigInteger__I(scaledDivisor) < 63)) { | |
| var rem = qr.rem$1.longValue__J(); | |
| var divisor = scaledDivisor.longValue__J(); | |
| - var compRem = this.java$math$BigDecimal$$longCompareTo__J__J__I(new $c_sjsr_RuntimeLong().init___I__I(2, 0).$$times__sjsr_RuntimeLong__sjsr_RuntimeLong((rem.$$less__sjsr_RuntimeLong__Z($m_sjsr_RuntimeLong$().Zero__sjsr_RuntimeLong()) ? rem.unary$und$minus__sjsr_RuntimeLong() : rem)), (divisor.$$less__sjsr_RuntimeLong__Z($m_sjsr_RuntimeLong$().Zero__sjsr_RuntimeLong()) ? divisor.unary$und$minus__sjsr_RuntimeLong() : divisor)); | |
| + var compRem = this.java$math$BigDecimal$$longCompareTo__J__J__I((rem.$$less__sjsr_RuntimeLong__Z($m_sjsr_RuntimeLong$().Zero__sjsr_RuntimeLong()) ? rem.unary$und$minus__sjsr_RuntimeLong() : rem).$$less$less__I__sjsr_RuntimeLong(1), (divisor.$$less__sjsr_RuntimeLong__Z($m_sjsr_RuntimeLong$().Zero__sjsr_RuntimeLong()) ? divisor.unary$und$minus__sjsr_RuntimeLong() : divisor)); | |
| var compRem$3 = this.java$math$BigDecimal$$roundingBehavior__I__I__Ljava_math_RoundingMode__I(parityBit, $imul(sign, ((5 + compRem) | 0)), roundingMode) | |
| } else { | |
| var compRem$2 = qr.rem$1.abs__Ljava_math_BigInteger().shiftLeftOneBit__Ljava_math_BigInteger().compareTo__Ljava_math_BigInteger__I(scaledDivisor.abs__Ljava_math_BigInteger()); | |
| @@ -250164,7 +253667,7 @@ | |
| var sign = $imul($m_jl_Long$().signum__J__I(scaledDividend), $m_jl_Long$().signum__J__I(scaledDivisor)); | |
| var q = scaledDividend.$$div__sjsr_RuntimeLong__sjsr_RuntimeLong(scaledDivisor); | |
| if (remainder.notEquals__sjsr_RuntimeLong__Z($m_sjsr_RuntimeLong$().Zero__sjsr_RuntimeLong())) { | |
| - var compRem = this.java$math$BigDecimal$$longCompareTo__J__J__I(new $c_sjsr_RuntimeLong().init___I__I(2, 0).$$times__sjsr_RuntimeLong__sjsr_RuntimeLong((remainder.$$less__sjsr_RuntimeLong__Z($m_sjsr_RuntimeLong$().Zero__sjsr_RuntimeLong()) ? remainder.unary$und$minus__sjsr_RuntimeLong() : remainder)), (scaledDivisor.$$less__sjsr_RuntimeLong__Z($m_sjsr_RuntimeLong$().Zero__sjsr_RuntimeLong()) ? scaledDivisor.unary$und$minus__sjsr_RuntimeLong() : scaledDivisor)); | |
| + var compRem = this.java$math$BigDecimal$$longCompareTo__J__J__I((remainder.$$less__sjsr_RuntimeLong__Z($m_sjsr_RuntimeLong$().Zero__sjsr_RuntimeLong()) ? remainder.unary$und$minus__sjsr_RuntimeLong() : remainder).$$less$less__I__sjsr_RuntimeLong(1), (scaledDivisor.$$less__sjsr_RuntimeLong__Z($m_sjsr_RuntimeLong$().Zero__sjsr_RuntimeLong()) ? scaledDivisor.unary$und$minus__sjsr_RuntimeLong() : scaledDivisor)); | |
| var quotient = q.$$plus__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I(this.java$math$BigDecimal$$roundingBehavior__I__I__Ljava_math_RoundingMode__I((1 & q.lo$2), $imul(sign, ((5 + compRem) | 0)), roundingMode))) | |
| } else { | |
| var quotient = q | |
| @@ -252137,7 +255640,7 @@ | |
| if ((i$2 === (-1))) { | |
| this.org$scalajs$testsuite$compiler$Json$$chError$1__T__T__sr_IntRef__sr_IntRef__sr_Nothing$("Illegal hex character", s$1, chLinePos$1, chCharPos$1) | |
| }; | |
| - elem$1 = (($imul(16, elem$1) + i$2) | 0); | |
| + elem$1 = (((elem$1 << 4) + i$2) | 0); | |
| this.org$scalajs$testsuite$compiler$Json$$chNext$1__T__I__I__AI__I__sr_IntRef__sr_IntRef__sr_IntRef__sr_IntRef__sr_IntRef__V(s$1, Other$1, Eof$1, charKind$1, size$1, pos$1, ch$1, chKind$1, chLinePos$1, chCharPos$1); | |
| if ((i === 4)) { | |
| break inlinereturn$8 | |
| @@ -255999,7 +259502,7 @@ | |
| var this$4 = $as_sci_List($s_sc_TraversableLike$class__to__sc_TraversableLike__scg_CanBuildFrom__O(xs, cbf)); | |
| var f = (function(x$1$2) { | |
| var x$1 = $uI(x$1$2); | |
| - return $imul(2, x$1) | |
| + return (x$1 << 1) | |
| }); | |
| var this$3 = $m_sci_List$(); | |
| var bf = this$3.ReusableCBFInstance$2; | |
| @@ -256236,7 +259739,7 @@ | |
| return $s_Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$MethodsWithConstantFoldedName$1__bar__Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$MethodsWithConstantFoldedName$1__I(this) | |
| }); | |
| function $s_Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$MethodsWithExplicitName$1__$double__Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$MethodsWithExplicitName$1__I__I($this, x) { | |
| - return $imul(2, x) | |
| + return (x << 1) | |
| } | |
| function $s_Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$MethodsWithExplicitName$1__bar__Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$MethodsWithExplicitName$1__I($this) { | |
| return 42 | |
| @@ -256285,7 +259788,7 @@ | |
| $c_Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$Minimal.prototype = new $h_Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$Minimal(); | |
| $c_Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$Minimal.prototype.constructor = $c_Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$Minimal; | |
| function $s_Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$NonNativeParentClass__bar__Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$NonNativeParentClass__I($this) { | |
| - return $imul(2, $uI($this.x)) | |
| + return ($uI($this.x) << 1) | |
| } | |
| function $s_Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$NonNativeParentClass__foo__Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$NonNativeParentClass__T__T($this, s) { | |
| return (("" + s) + $uI($this.x)) | |
| @@ -257296,7 +260799,7 @@ | |
| $this.myY$2 = (v + " set") | |
| } | |
| function $s_Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$PropertiesWithExplicitName$1__doubleXScala__Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$PropertiesWithExplicitName$1__I($this) { | |
| - return $imul(2, $uI($this.x)) | |
| + return ($uI($this.x) << 1) | |
| } | |
| /** @constructor */ | |
| function $c_Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$PropertiesWithExplicitName$1(arg$1) { | |
| @@ -257450,7 +260953,7 @@ | |
| return 42 | |
| } | |
| function $s_Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$RenamedOverloadedMethods$1__bar__Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$RenamedOverloadedMethods$1__I__I($this, x) { | |
| - return $imul(2, x) | |
| + return (x << 1) | |
| } | |
| /** @constructor */ | |
| function $c_Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$RenamedOverloadedMethods$1(arg$1) { | |
| @@ -257718,7 +261221,7 @@ | |
| return $s_Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$SimpleMethod__bar__Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$SimpleMethod__T__I__T(this, prep0, prep1) | |
| }); | |
| function $s_Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$SimpleOverloadedMethods$1__foo__Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$SimpleOverloadedMethods$1__I__I($this, x) { | |
| - return $imul(2, x) | |
| + return (x << 1) | |
| } | |
| function $s_Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$SimpleOverloadedMethods$1__foo__Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$SimpleOverloadedMethods$1__I($this) { | |
| return 42 | |
| @@ -265543,7 +269046,7 @@ | |
| if (jsx$1) { | |
| var jsx$3 = oct; | |
| var index$4 = idx; | |
| - oct = (((-48) + (($imul(8, jsx$3) + (65535 & $uI(str$1.charCodeAt(index$4)))) | 0)) | 0); | |
| + oct = (((-48) + (((jsx$3 << 3) + (65535 & $uI(str$1.charCodeAt(index$4)))) | 0)) | 0); | |
| idx = ((1 + idx) | 0); | |
| if (((idx < len$1) && (leadch <= 51))) { | |
| var index$5 = idx; | |
| @@ -265560,7 +269063,7 @@ | |
| if (jsx$4) { | |
| var jsx$6 = oct; | |
| var index$7 = idx; | |
| - oct = (((-48) + (($imul(8, jsx$6) + (65535 & $uI(str$1.charCodeAt(index$7)))) | 0)) | 0); | |
| + oct = (((-48) + (((jsx$6 << 3) + (65535 & $uI(str$1.charCodeAt(index$7)))) | 0)) | 0); | |
| idx = ((1 + idx) | 0) | |
| } | |
| }; | |
| @@ -268110,7 +271613,7 @@ | |
| }); | |
| $c_Ljava_io_ByteArrayOutputStream.prototype.growBuf__p2__I__V = (function(minIncrement) { | |
| var a = ((this.count$2 + minIncrement) | 0); | |
| - var b = $imul(2, this.buf$2.u.length); | |
| + var b = (this.buf$2.u.length << 1); | |
| var newSize = ((a > b) ? a : b); | |
| var newBuf = $newArrayObject($d_B.getArrayOf(), [newSize]); | |
| $systemArraycopy(this.buf$2, 0, newBuf, 0, this.count$2); | |
| @@ -268341,7 +271844,7 @@ | |
| var this$1 = this.outBuf$2; | |
| jsx$1.limit__I__Ljava_nio_Buffer(this$1.$$undcapacity$1); | |
| this.outBuf$2.position__I__Ljava_nio_Buffer(0); | |
| - var charsRead = this.loopWithOutBuf$1__p2__I__I($imul(2, len)); | |
| + var charsRead = this.loopWithOutBuf$1__p2__I__I((len << 1)); | |
| $m_s_Predef$().assert__Z__V((charsRead !== 0)); | |
| this.outBuf$2.flip__Ljava_nio_Buffer(); | |
| if ((charsRead === (-1))) { | |
| @@ -268419,7 +271922,7 @@ | |
| }; | |
| var charsRead = this.readImpl__p2__Ljava_nio_CharBuffer__I(this.outBuf$2); | |
| if ((charsRead === (-2))) { | |
| - desiredOutBufSize = $imul(2, desiredOutBufSize); | |
| + desiredOutBufSize = (desiredOutBufSize << 1); | |
| continue _loopWithOutBuf | |
| } else { | |
| return charsRead | |
| @@ -269385,7 +272888,7 @@ | |
| var intPart0 = unscaledVal.$$div__sjsr_RuntimeLong__sjsr_RuntimeLong(sizeOfFraction); | |
| var fraction = unscaledVal.$$percent__sjsr_RuntimeLong__sjsr_RuntimeLong(sizeOfFraction); | |
| if (fraction.notEquals__sjsr_RuntimeLong__Z($m_sjsr_RuntimeLong$().Zero__sjsr_RuntimeLong())) { | |
| - var compRem = $m_Ljava_math_BigDecimal$().java$math$BigDecimal$$longCompareTo__J__J__I(new $c_sjsr_RuntimeLong().init___I__I(2, 0).$$times__sjsr_RuntimeLong__sjsr_RuntimeLong((fraction.$$less__sjsr_RuntimeLong__Z($m_sjsr_RuntimeLong$().Zero__sjsr_RuntimeLong()) ? fraction.unary$und$minus__sjsr_RuntimeLong() : fraction)), sizeOfFraction); | |
| + var compRem = $m_Ljava_math_BigDecimal$().java$math$BigDecimal$$longCompareTo__J__J__I((fraction.$$less__sjsr_RuntimeLong__Z($m_sjsr_RuntimeLong$().Zero__sjsr_RuntimeLong()) ? fraction.unary$und$minus__sjsr_RuntimeLong() : fraction).$$less$less__I__sjsr_RuntimeLong(1), sizeOfFraction); | |
| var frac = $imul($m_jl_Long$().signum__J__I(fraction), ((5 + compRem) | 0)); | |
| var intPart1 = intPart0.$$plus__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I($m_Ljava_math_BigDecimal$().java$math$BigDecimal$$roundingBehavior__I__I__Ljava_math_RoundingMode__I((1 & intPart0.lo$2), frac, mc.roundingMode$1))); | |
| var a = (intPart1.$$less__sjsr_RuntimeLong__Z($m_sjsr_RuntimeLong$().Zero__sjsr_RuntimeLong()) ? intPart1.unary$und$minus__sjsr_RuntimeLong() : intPart1).toDouble__D(); | |
| @@ -272241,10 +275744,10 @@ | |
| if (((index < 0) || (index >= this.$$undlimit$1))) { | |
| throw new $c_jl_IndexOutOfBoundsException().init___() | |
| }; | |
| - return $uD(this.$$unddataView$3.getFloat64($imul(8, index), (!this.isBigEndian$3))) | |
| + return $uD(this.$$unddataView$3.getFloat64((index << 3), (!this.isBigEndian$3))) | |
| }); | |
| $c_Ljava_nio_DataViewDoubleBuffer.prototype.load__I__D = (function(index) { | |
| - return $uD(this.$$unddataView$3.getFloat64($imul(8, index), (!this.isBigEndian$3))) | |
| + return $uD(this.$$unddataView$3.getFloat64((index << 3), (!this.isBigEndian$3))) | |
| }); | |
| $c_Ljava_nio_DataViewDoubleBuffer.prototype.order__Ljava_nio_ByteOrder = (function() { | |
| return (this.isBigEndian$3 ? $m_Ljava_nio_ByteOrder$().BIG$undENDIAN$1 : $m_Ljava_nio_ByteOrder$().LITTLE$undENDIAN$1) | |
| @@ -272289,7 +275792,7 @@ | |
| throw new $c_Ljava_nio_BufferOverflowException().init___() | |
| }; | |
| this.java$nio$Buffer$$$undposition$1 = ((1 + p) | 0); | |
| - this.$$unddataView$3.setFloat64($imul(8, p), d, (!this.isBigEndian$3)); | |
| + this.$$unddataView$3.setFloat64((p << 3), d, (!this.isBigEndian$3)); | |
| return this | |
| }); | |
| $c_Ljava_nio_DataViewDoubleBuffer.prototype.compact__Ljava_nio_DoubleBuffer = (function() { | |
| @@ -272300,7 +275803,7 @@ | |
| var byteArray = new $g.Int8Array(dataView.buffer, $uI(dataView.byteOffset), $uI(dataView.byteLength)); | |
| var pos = this.java$nio$Buffer$$$undposition$1; | |
| var lim = this.$$undlimit$1; | |
| - byteArray.set(byteArray.subarray($imul(8, pos), $imul(8, lim))); | |
| + byteArray.set(byteArray.subarray((pos << 3), (lim << 3))); | |
| this.$$undmark$1 = (-1); | |
| this.limit__I__Ljava_nio_Buffer(this.$$undcapacity$1); | |
| this.position__I__Ljava_nio_Buffer(((lim - pos) | 0)); | |
| @@ -272322,7 +275825,7 @@ | |
| while ((selfPos !== endPos)) { | |
| var jsx$1 = arrayIndex; | |
| var index = selfPos; | |
| - dst.u[jsx$1] = $uD(this.$$unddataView$3.getFloat64($imul(8, index), (!this.isBigEndian$3))); | |
| + dst.u[jsx$1] = $uD(this.$$unddataView$3.getFloat64((index << 3), (!this.isBigEndian$3))); | |
| selfPos = ((1 + selfPos) | 0); | |
| arrayIndex = ((1 + arrayIndex) | 0) | |
| }; | |
| @@ -272335,7 +275838,7 @@ | |
| if (((index < 0) || (index >= this.$$undlimit$1))) { | |
| throw new $c_jl_IndexOutOfBoundsException().init___() | |
| }; | |
| - this.$$unddataView$3.setFloat64($imul(8, index), d, (!this.isBigEndian$3)); | |
| + this.$$unddataView$3.setFloat64((index << 3), d, (!this.isBigEndian$3)); | |
| return this | |
| }); | |
| $c_Ljava_nio_DataViewDoubleBuffer.prototype.isReadOnly__Z = (function() { | |
| @@ -272360,7 +275863,7 @@ | |
| while ((selfPos !== endPos)) { | |
| var index = selfPos; | |
| var elem = src.u[arrayIndex]; | |
| - this.$$unddataView$3.setFloat64($imul(8, index), elem, (!this.isBigEndian$3)); | |
| + this.$$unddataView$3.setFloat64((index << 3), elem, (!this.isBigEndian$3)); | |
| selfPos = ((1 + selfPos) | 0); | |
| arrayIndex = ((1 + arrayIndex) | 0) | |
| }; | |
| @@ -272371,8 +275874,8 @@ | |
| var pos = this.java$nio$Buffer$$$undposition$1; | |
| var newCapacity = ((this.$$undlimit$1 - pos) | 0); | |
| var buffer = dataView.buffer; | |
| - var byteOffset = (($uI(dataView.byteOffset) + $imul(8, pos)) | 0); | |
| - var byteLength = $imul(8, newCapacity); | |
| + var byteOffset = (($uI(dataView.byteOffset) + (pos << 3)) | 0); | |
| + var byteLength = (newCapacity << 3); | |
| var slicedDataView = ((byteLength === 0) ? { | |
| "buffer": buffer, | |
| "byteOffset": byteOffset, | |
| @@ -272388,7 +275891,7 @@ | |
| throw new $c_Ljava_nio_BufferUnderflowException().init___() | |
| }; | |
| this.java$nio$Buffer$$$undposition$1 = ((1 + p) | 0); | |
| - return $uD(this.$$unddataView$3.getFloat64($imul(8, p), (!this.isBigEndian$3))) | |
| + return $uD(this.$$unddataView$3.getFloat64((p << 3), (!this.isBigEndian$3))) | |
| }); | |
| $c_Ljava_nio_DataViewDoubleBuffer.prototype.clone__ = (function() { | |
| if ($is_jl_Cloneable(this)) { | |
| @@ -272429,8 +275932,8 @@ | |
| var pos = this.java$nio$Buffer$$$undposition$1; | |
| var newCapacity = ((this.$$undlimit$1 - pos) | 0); | |
| var buffer = dataView.buffer; | |
| - var byteOffset = (($uI(dataView.byteOffset) + $imul(4, pos)) | 0); | |
| - var byteLength = $imul(4, newCapacity); | |
| + var byteOffset = (($uI(dataView.byteOffset) + (pos << 2)) | 0); | |
| + var byteLength = (newCapacity << 2); | |
| var slicedDataView = ((byteLength === 0) ? { | |
| "buffer": buffer, | |
| "byteOffset": byteOffset, | |
| @@ -272446,13 +275949,13 @@ | |
| throw new $c_Ljava_nio_BufferUnderflowException().init___() | |
| }; | |
| this.java$nio$Buffer$$$undposition$1 = ((1 + p) | 0); | |
| - return $uF(this.$$unddataView$3.getFloat32($imul(4, p), (!this.isBigEndian$3))) | |
| + return $uF(this.$$unddataView$3.getFloat32((p << 2), (!this.isBigEndian$3))) | |
| }); | |
| $c_Ljava_nio_DataViewFloatBuffer.prototype.get__I__F = (function(index) { | |
| if (((index < 0) || (index >= this.$$undlimit$1))) { | |
| throw new $c_jl_IndexOutOfBoundsException().init___() | |
| }; | |
| - return $uF(this.$$unddataView$3.getFloat32($imul(4, index), (!this.isBigEndian$3))) | |
| + return $uF(this.$$unddataView$3.getFloat32((index << 2), (!this.isBigEndian$3))) | |
| }); | |
| $c_Ljava_nio_DataViewFloatBuffer.prototype.asReadOnlyBuffer__Ljava_nio_FloatBuffer = (function() { | |
| var dataView = this.$$unddataView$3; | |
| @@ -272467,7 +275970,7 @@ | |
| return (this.isBigEndian$3 ? $m_Ljava_nio_ByteOrder$().BIG$undENDIAN$1 : $m_Ljava_nio_ByteOrder$().LITTLE$undENDIAN$1) | |
| }); | |
| $c_Ljava_nio_DataViewFloatBuffer.prototype.load__I__F = (function(index) { | |
| - return $uF(this.$$unddataView$3.getFloat32($imul(4, index), (!this.isBigEndian$3))) | |
| + return $uF(this.$$unddataView$3.getFloat32((index << 2), (!this.isBigEndian$3))) | |
| }); | |
| $c_Ljava_nio_DataViewFloatBuffer.prototype.notify__ = (function() { | |
| return (void 0) | |
| @@ -272491,7 +275994,7 @@ | |
| while ((selfPos !== endPos)) { | |
| var index = selfPos; | |
| var elem = src.u[arrayIndex]; | |
| - this.$$unddataView$3.setFloat32($imul(4, index), elem, (!this.isBigEndian$3)); | |
| + this.$$unddataView$3.setFloat32((index << 2), elem, (!this.isBigEndian$3)); | |
| selfPos = ((1 + selfPos) | 0); | |
| arrayIndex = ((1 + arrayIndex) | 0) | |
| }; | |
| @@ -272513,7 +276016,7 @@ | |
| if (((index < 0) || (index >= this.$$undlimit$1))) { | |
| throw new $c_jl_IndexOutOfBoundsException().init___() | |
| }; | |
| - this.$$unddataView$3.setFloat32($imul(4, index), f, (!this.isBigEndian$3)); | |
| + this.$$unddataView$3.setFloat32((index << 2), f, (!this.isBigEndian$3)); | |
| return this | |
| }); | |
| $c_Ljava_nio_DataViewFloatBuffer.prototype.duplicate__Ljava_nio_FloatBuffer = (function() { | |
| @@ -272545,7 +276048,7 @@ | |
| while ((selfPos !== endPos)) { | |
| var jsx$1 = arrayIndex; | |
| var index = selfPos; | |
| - dst.u[jsx$1] = $uF(this.$$unddataView$3.getFloat32($imul(4, index), (!this.isBigEndian$3))); | |
| + dst.u[jsx$1] = $uF(this.$$unddataView$3.getFloat32((index << 2), (!this.isBigEndian$3))); | |
| selfPos = ((1 + selfPos) | 0); | |
| arrayIndex = ((1 + arrayIndex) | 0) | |
| }; | |
| @@ -272559,7 +276062,7 @@ | |
| var byteArray = new $g.Int8Array(dataView.buffer, $uI(dataView.byteOffset), $uI(dataView.byteLength)); | |
| var pos = this.java$nio$Buffer$$$undposition$1; | |
| var lim = this.$$undlimit$1; | |
| - byteArray.set(byteArray.subarray($imul(4, pos), $imul(4, lim))); | |
| + byteArray.set(byteArray.subarray((pos << 2), (lim << 2))); | |
| this.$$undmark$1 = (-1); | |
| this.limit__I__Ljava_nio_Buffer(this.$$undcapacity$1); | |
| this.position__I__Ljava_nio_Buffer(((lim - pos) | 0)); | |
| @@ -272574,7 +276077,7 @@ | |
| throw new $c_Ljava_nio_BufferOverflowException().init___() | |
| }; | |
| this.java$nio$Buffer$$$undposition$1 = ((1 + p) | 0); | |
| - this.$$unddataView$3.setFloat32($imul(4, p), f, (!this.isBigEndian$3)); | |
| + this.$$unddataView$3.setFloat32((p << 2), f, (!this.isBigEndian$3)); | |
| return this | |
| }); | |
| $c_Ljava_nio_DataViewFloatBuffer.prototype.clone__ = (function() { | |
| @@ -272627,7 +276130,7 @@ | |
| while ((selfPos !== endPos)) { | |
| var jsx$1 = arrayIndex; | |
| var index = selfPos; | |
| - dst.u[jsx$1] = $uI(this.$$unddataView$3.getInt32($imul(4, index), (!this.isBigEndian$3))); | |
| + dst.u[jsx$1] = $uI(this.$$unddataView$3.getInt32((index << 2), (!this.isBigEndian$3))); | |
| selfPos = ((1 + selfPos) | 0); | |
| arrayIndex = ((1 + arrayIndex) | 0) | |
| }; | |
| @@ -272639,7 +276142,7 @@ | |
| throw new $c_Ljava_nio_BufferUnderflowException().init___() | |
| }; | |
| this.java$nio$Buffer$$$undposition$1 = ((1 + p) | 0); | |
| - return $uI(this.$$unddataView$3.getInt32($imul(4, p), (!this.isBigEndian$3))) | |
| + return $uI(this.$$unddataView$3.getInt32((p << 2), (!this.isBigEndian$3))) | |
| }); | |
| $c_Ljava_nio_DataViewIntBuffer.prototype.duplicate__Ljava_nio_IntBuffer = (function() { | |
| var dataView = this.$$unddataView$3; | |
| @@ -272658,7 +276161,7 @@ | |
| if (((index < 0) || (index >= this.$$undlimit$1))) { | |
| throw new $c_jl_IndexOutOfBoundsException().init___() | |
| }; | |
| - this.$$unddataView$3.setInt32($imul(4, index), i, (!this.isBigEndian$3)); | |
| + this.$$unddataView$3.setInt32((index << 2), i, (!this.isBigEndian$3)); | |
| return this | |
| }); | |
| $c_Ljava_nio_DataViewIntBuffer.prototype.order__Ljava_nio_ByteOrder = (function() { | |
| @@ -272671,7 +276174,7 @@ | |
| if (((index < 0) || (index >= this.$$undlimit$1))) { | |
| throw new $c_jl_IndexOutOfBoundsException().init___() | |
| }; | |
| - return $uI(this.$$unddataView$3.getInt32($imul(4, index), (!this.isBigEndian$3))) | |
| + return $uI(this.$$unddataView$3.getInt32((index << 2), (!this.isBigEndian$3))) | |
| }); | |
| $c_Ljava_nio_DataViewIntBuffer.prototype.put__AI__I__I__Ljava_nio_IntBuffer = (function(src, offset, length) { | |
| if (this.$$undreadOnly$3) { | |
| @@ -272692,14 +276195,14 @@ | |
| while ((selfPos !== endPos)) { | |
| var index = selfPos; | |
| var elem = src.u[arrayIndex]; | |
| - this.$$unddataView$3.setInt32($imul(4, index), elem, (!this.isBigEndian$3)); | |
| + this.$$unddataView$3.setInt32((index << 2), elem, (!this.isBigEndian$3)); | |
| selfPos = ((1 + selfPos) | 0); | |
| arrayIndex = ((1 + arrayIndex) | 0) | |
| }; | |
| return this | |
| }); | |
| $c_Ljava_nio_DataViewIntBuffer.prototype.load__I__I = (function(index) { | |
| - return $uI(this.$$unddataView$3.getInt32($imul(4, index), (!this.isBigEndian$3))) | |
| + return $uI(this.$$unddataView$3.getInt32((index << 2), (!this.isBigEndian$3))) | |
| }); | |
| $c_Ljava_nio_DataViewIntBuffer.prototype.put__I__Ljava_nio_IntBuffer = (function(i) { | |
| if (this.$$undreadOnly$3) { | |
| @@ -272710,7 +276213,7 @@ | |
| throw new $c_Ljava_nio_BufferOverflowException().init___() | |
| }; | |
| this.java$nio$Buffer$$$undposition$1 = ((1 + p) | 0); | |
| - this.$$unddataView$3.setInt32($imul(4, p), i, (!this.isBigEndian$3)); | |
| + this.$$unddataView$3.setInt32((p << 2), i, (!this.isBigEndian$3)); | |
| return this | |
| }); | |
| $c_Ljava_nio_DataViewIntBuffer.prototype.slice__Ljava_nio_IntBuffer = (function() { | |
| @@ -272718,8 +276221,8 @@ | |
| var pos = this.java$nio$Buffer$$$undposition$1; | |
| var newCapacity = ((this.$$undlimit$1 - pos) | 0); | |
| var buffer = dataView.buffer; | |
| - var byteOffset = (($uI(dataView.byteOffset) + $imul(4, pos)) | 0); | |
| - var byteLength = $imul(4, newCapacity); | |
| + var byteOffset = (($uI(dataView.byteOffset) + (pos << 2)) | 0); | |
| + var byteLength = (newCapacity << 2); | |
| var slicedDataView = ((byteLength === 0) ? { | |
| "buffer": buffer, | |
| "byteOffset": byteOffset, | |
| @@ -272746,7 +276249,7 @@ | |
| var byteArray = new $g.Int8Array(dataView.buffer, $uI(dataView.byteOffset), $uI(dataView.byteLength)); | |
| var pos = this.java$nio$Buffer$$$undposition$1; | |
| var lim = this.$$undlimit$1; | |
| - byteArray.set(byteArray.subarray($imul(4, pos), $imul(4, lim))); | |
| + byteArray.set(byteArray.subarray((pos << 2), (lim << 2))); | |
| this.$$undmark$1 = (-1); | |
| this.limit__I__Ljava_nio_Buffer(this.$$undcapacity$1); | |
| this.position__I__Ljava_nio_Buffer(((lim - pos) | 0)); | |
| @@ -272803,7 +276306,7 @@ | |
| throw new $c_jl_IndexOutOfBoundsException().init___() | |
| }; | |
| var dataView = this.$$unddataView$3; | |
| - var index$1 = $imul(8, index); | |
| + var index$1 = (index << 3); | |
| var littleEndian = (!this.isBigEndian$3); | |
| var high = $uI(dataView.getInt32(((index$1 + (littleEndian ? 4 : 0)) | 0), littleEndian)); | |
| var low = $uI(dataView.getInt32(((index$1 + (littleEndian ? 0 : 4)) | 0), littleEndian)); | |
| @@ -272819,7 +276322,7 @@ | |
| }; | |
| this.java$nio$Buffer$$$undposition$1 = ((1 + p) | 0); | |
| var dataView = this.$$unddataView$3; | |
| - var index = $imul(8, p); | |
| + var index = (p << 3); | |
| var littleEndian = (!this.isBigEndian$3); | |
| var high = l.hi$2; | |
| var low = l.lo$2; | |
| @@ -272829,7 +276332,7 @@ | |
| }); | |
| $c_Ljava_nio_DataViewLongBuffer.prototype.load__I__J = (function(index) { | |
| var dataView = this.$$unddataView$3; | |
| - var index$1 = $imul(8, index); | |
| + var index$1 = (index << 3); | |
| var littleEndian = (!this.isBigEndian$3); | |
| var high = $uI(dataView.getInt32(((index$1 + (littleEndian ? 4 : 0)) | 0), littleEndian)); | |
| var low = $uI(dataView.getInt32(((index$1 + (littleEndian ? 0 : 4)) | 0), littleEndian)); | |
| @@ -272856,7 +276359,7 @@ | |
| var elem = src.u[arrayIndex]; | |
| var elem$1 = $uJ(elem); | |
| var dataView = this.$$unddataView$3; | |
| - var index$1 = $imul(8, index); | |
| + var index$1 = (index << 3); | |
| var littleEndian = (!this.isBigEndian$3); | |
| var high = elem$1.hi$2; | |
| var low = elem$1.lo$2; | |
| @@ -272875,7 +276378,7 @@ | |
| var byteArray = new $g.Int8Array(dataView.buffer, $uI(dataView.byteOffset), $uI(dataView.byteLength)); | |
| var pos = this.java$nio$Buffer$$$undposition$1; | |
| var lim = this.$$undlimit$1; | |
| - byteArray.set(byteArray.subarray($imul(8, pos), $imul(8, lim))); | |
| + byteArray.set(byteArray.subarray((pos << 3), (lim << 3))); | |
| this.$$undmark$1 = (-1); | |
| this.limit__I__Ljava_nio_Buffer(this.$$undcapacity$1); | |
| this.position__I__Ljava_nio_Buffer(((lim - pos) | 0)); | |
| @@ -272898,7 +276401,7 @@ | |
| var jsx$1 = arrayIndex; | |
| var index = selfPos; | |
| var dataView = this.$$unddataView$3; | |
| - var index$1 = $imul(8, index); | |
| + var index$1 = (index << 3); | |
| var littleEndian = (!this.isBigEndian$3); | |
| var high = $uI(dataView.getInt32(((index$1 + (littleEndian ? 4 : 0)) | 0), littleEndian)); | |
| var low = $uI(dataView.getInt32(((index$1 + (littleEndian ? 0 : 4)) | 0), littleEndian)); | |
| @@ -272916,7 +276419,7 @@ | |
| throw new $c_jl_IndexOutOfBoundsException().init___() | |
| }; | |
| var dataView = this.$$unddataView$3; | |
| - var index$1 = $imul(8, index); | |
| + var index$1 = (index << 3); | |
| var littleEndian = (!this.isBigEndian$3); | |
| var high = l.hi$2; | |
| var low = l.lo$2; | |
| @@ -272963,8 +276466,8 @@ | |
| var pos = this.java$nio$Buffer$$$undposition$1; | |
| var newCapacity = ((this.$$undlimit$1 - pos) | 0); | |
| var buffer = dataView.buffer; | |
| - var byteOffset = (($uI(dataView.byteOffset) + $imul(8, pos)) | 0); | |
| - var byteLength = $imul(8, newCapacity); | |
| + var byteOffset = (($uI(dataView.byteOffset) + (pos << 3)) | 0); | |
| + var byteLength = (newCapacity << 3); | |
| var slicedDataView = ((byteLength === 0) ? { | |
| "buffer": buffer, | |
| "byteOffset": byteOffset, | |
| @@ -272981,7 +276484,7 @@ | |
| }; | |
| this.java$nio$Buffer$$$undposition$1 = ((1 + p) | 0); | |
| var dataView = this.$$unddataView$3; | |
| - var index = $imul(8, p); | |
| + var index = (p << 3); | |
| var littleEndian = (!this.isBigEndian$3); | |
| var high = $uI(dataView.getInt32(((index + (littleEndian ? 4 : 0)) | 0), littleEndian)); | |
| var low = $uI(dataView.getInt32(((index + (littleEndian ? 0 : 4)) | 0), littleEndian)); | |
| @@ -273028,15 +276531,15 @@ | |
| if (((index < 0) || (index >= this.$$undlimit$1))) { | |
| throw new $c_jl_IndexOutOfBoundsException().init___() | |
| }; | |
| - return $uS($uS(this.$$unddataView$3.getInt16($imul(2, index), (!this.isBigEndian$3)))) | |
| + return $uS($uS(this.$$unddataView$3.getInt16((index << 1), (!this.isBigEndian$3)))) | |
| }); | |
| $c_Ljava_nio_DataViewShortBuffer.prototype.slice__Ljava_nio_ShortBuffer = (function() { | |
| var dataView = this.$$unddataView$3; | |
| var pos = this.java$nio$Buffer$$$undposition$1; | |
| var newCapacity = ((this.$$undlimit$1 - pos) | 0); | |
| var buffer = dataView.buffer; | |
| - var byteOffset = (($uI(dataView.byteOffset) + $imul(2, pos)) | 0); | |
| - var byteLength = $imul(2, newCapacity); | |
| + var byteOffset = (($uI(dataView.byteOffset) + (pos << 1)) | 0); | |
| + var byteLength = (newCapacity << 1); | |
| var slicedDataView = ((byteLength === 0) ? { | |
| "buffer": buffer, | |
| "byteOffset": byteOffset, | |
| @@ -273047,7 +276550,7 @@ | |
| return new $c_Ljava_nio_DataViewShortBuffer().init___sjs_js_typedarray_DataView__I__I__Z__Z(slicedDataView, 0, newCapacity, readOnly, isBigEndian) | |
| }); | |
| $c_Ljava_nio_DataViewShortBuffer.prototype.load__I__S = (function(index) { | |
| - return $uS(this.$$unddataView$3.getInt16($imul(2, index), (!this.isBigEndian$3))) | |
| + return $uS(this.$$unddataView$3.getInt16((index << 1), (!this.isBigEndian$3))) | |
| }); | |
| $c_Ljava_nio_DataViewShortBuffer.prototype.get__AS__I__I__Ljava_nio_ShortBuffer = (function(dst, offset, length) { | |
| if ((((offset < 0) || (length < 0)) || (offset > ((dst.u.length - length) | 0)))) { | |
| @@ -273065,7 +276568,7 @@ | |
| while ((selfPos !== endPos)) { | |
| var jsx$1 = arrayIndex; | |
| var index = selfPos; | |
| - dst.u[jsx$1] = $uS($uS(this.$$unddataView$3.getInt16($imul(2, index), (!this.isBigEndian$3)))); | |
| + dst.u[jsx$1] = $uS($uS(this.$$unddataView$3.getInt16((index << 1), (!this.isBigEndian$3)))); | |
| selfPos = ((1 + selfPos) | 0); | |
| arrayIndex = ((1 + arrayIndex) | 0) | |
| }; | |
| @@ -273106,7 +276609,7 @@ | |
| var index = selfPos; | |
| var elem = src.u[arrayIndex]; | |
| var elem$1 = $uS(elem); | |
| - this.$$unddataView$3.setInt16($imul(2, index), elem$1, (!this.isBigEndian$3)); | |
| + this.$$unddataView$3.setInt16((index << 1), elem$1, (!this.isBigEndian$3)); | |
| selfPos = ((1 + selfPos) | 0); | |
| arrayIndex = ((1 + arrayIndex) | 0) | |
| }; | |
| @@ -273139,7 +276642,7 @@ | |
| var byteArray = new $g.Int8Array(dataView.buffer, $uI(dataView.byteOffset), $uI(dataView.byteLength)); | |
| var pos = this.java$nio$Buffer$$$undposition$1; | |
| var lim = this.$$undlimit$1; | |
| - byteArray.set(byteArray.subarray($imul(2, pos), $imul(2, lim))); | |
| + byteArray.set(byteArray.subarray((pos << 1), (lim << 1))); | |
| this.$$undmark$1 = (-1); | |
| this.limit__I__Ljava_nio_Buffer(this.$$undcapacity$1); | |
| this.position__I__Ljava_nio_Buffer(((lim - pos) | 0)); | |
| @@ -273151,7 +276654,7 @@ | |
| throw new $c_Ljava_nio_BufferUnderflowException().init___() | |
| }; | |
| this.java$nio$Buffer$$$undposition$1 = ((1 + p) | 0); | |
| - return $uS($uS(this.$$unddataView$3.getInt16($imul(2, p), (!this.isBigEndian$3)))) | |
| + return $uS($uS(this.$$unddataView$3.getInt16((p << 1), (!this.isBigEndian$3)))) | |
| }); | |
| $c_Ljava_nio_DataViewShortBuffer.prototype.isReadOnly__Z = (function() { | |
| return this.$$undreadOnly$3 | |
| @@ -273166,7 +276669,7 @@ | |
| }; | |
| this.java$nio$Buffer$$$undposition$1 = ((1 + p) | 0); | |
| var elem = $uS(s); | |
| - this.$$unddataView$3.setInt16($imul(2, p), elem, (!this.isBigEndian$3)); | |
| + this.$$unddataView$3.setInt16((p << 1), elem, (!this.isBigEndian$3)); | |
| return this | |
| }); | |
| $c_Ljava_nio_DataViewShortBuffer.prototype.put__I__S__Ljava_nio_ShortBuffer = (function(index, s) { | |
| @@ -273177,7 +276680,7 @@ | |
| throw new $c_jl_IndexOutOfBoundsException().init___() | |
| }; | |
| var elem = $uS(s); | |
| - this.$$unddataView$3.setInt16($imul(2, index), elem, (!this.isBigEndian$3)); | |
| + this.$$unddataView$3.setInt16((index << 1), elem, (!this.isBigEndian$3)); | |
| return this | |
| }); | |
| $c_Ljava_nio_DataViewShortBuffer.prototype.clone__ = (function() { | |
| @@ -274146,7 +277649,7 @@ | |
| var array = this.$$undbyteArray$3; | |
| var arrayOffset = this.$$undbyteArrayOffset$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| - var idx = (($imul(8, index) + arrayOffset) | 0); | |
| + var idx = (((index << 3) + arrayOffset) | 0); | |
| var _1 = array.u[idx]; | |
| var _2 = array.u[((1 + idx) | 0)]; | |
| var _3 = array.u[((2 + idx) | 0)]; | |
| @@ -274170,7 +277673,7 @@ | |
| var array = this.$$undbyteArray$3; | |
| var arrayOffset = this.$$undbyteArrayOffset$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| - var idx = (($imul(8, index) + arrayOffset) | 0); | |
| + var idx = (((index << 3) + arrayOffset) | 0); | |
| var _1 = array.u[idx]; | |
| var _2 = array.u[((1 + idx) | 0)]; | |
| var _3 = array.u[((2 + idx) | 0)]; | |
| @@ -274261,7 +277764,7 @@ | |
| var bs_$_$$und7$1 = _2; | |
| var bs_$_$$und8$1 = _1 | |
| }; | |
| - var idx = (($imul(8, p) + arrayOffset) | 0); | |
| + var idx = (((p << 3) + arrayOffset) | 0); | |
| array.u[idx] = $uB(bs_$_$$und1$1); | |
| array.u[((1 + idx) | 0)] = $uB(bs_$_$$und2$1); | |
| array.u[((2 + idx) | 0)] = $uB(bs_$_$$und3$1); | |
| @@ -274277,7 +277780,7 @@ | |
| throw new $c_Ljava_nio_ReadOnlyBufferException().init___() | |
| }; | |
| var len = ((this.$$undlimit$1 - this.java$nio$Buffer$$$undposition$1) | 0); | |
| - $systemArraycopy(this.$$undbyteArray$3, ((this.$$undbyteArrayOffset$3 + $imul(8, this.java$nio$Buffer$$$undposition$1)) | 0), this.$$undbyteArray$3, this.$$undbyteArrayOffset$3, $imul(8, len)); | |
| + $systemArraycopy(this.$$undbyteArray$3, ((this.$$undbyteArrayOffset$3 + (this.java$nio$Buffer$$$undposition$1 << 3)) | 0), this.$$undbyteArray$3, this.$$undbyteArrayOffset$3, (len << 3)); | |
| this.$$undmark$1 = (-1); | |
| this.limit__I__Ljava_nio_Buffer(this.$$undcapacity$1); | |
| this.position__I__Ljava_nio_Buffer(len); | |
| @@ -274302,7 +277805,7 @@ | |
| var array = this.$$undbyteArray$3; | |
| var arrayOffset = this.$$undbyteArrayOffset$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| - var idx = (($imul(8, index) + arrayOffset) | 0); | |
| + var idx = (((index << 3) + arrayOffset) | 0); | |
| var _1 = array.u[idx]; | |
| var _2 = array.u[((1 + idx) | 0)]; | |
| var _3 = array.u[((2 + idx) | 0)]; | |
| @@ -274378,7 +277881,7 @@ | |
| var bs_$_$$und7$1 = _2; | |
| var bs_$_$$und8$1 = _1 | |
| }; | |
| - var idx = (($imul(8, index) + arrayOffset) | 0); | |
| + var idx = (((index << 3) + arrayOffset) | 0); | |
| array.u[idx] = $uB(bs_$_$$und1$1); | |
| array.u[((1 + idx) | 0)] = $uB(bs_$_$$und2$1); | |
| array.u[((2 + idx) | 0)] = $uB(bs_$_$$und3$1); | |
| @@ -274435,7 +277938,7 @@ | |
| var bs_$_$$und7$1 = _2; | |
| var bs_$_$$und8$1 = _1 | |
| }; | |
| - var idx = (($imul(8, index) + arrayOffset) | 0); | |
| + var idx = (((index << 3) + arrayOffset) | 0); | |
| array.u[idx] = $uB(bs_$_$$und1$1); | |
| array.u[((1 + idx) | 0)] = $uB(bs_$_$$und2$1); | |
| array.u[((2 + idx) | 0)] = $uB(bs_$_$$und3$1); | |
| @@ -274449,7 +277952,7 @@ | |
| $c_Ljava_nio_HeapByteBufferDoubleView.prototype.slice__Ljava_nio_DoubleBuffer = (function() { | |
| var newCapacity = ((this.$$undlimit$1 - this.java$nio$Buffer$$$undposition$1) | 0); | |
| var byteArray = this.$$undbyteArray$3; | |
| - var byteArrayOffset = ((this.$$undbyteArrayOffset$3 + $imul(8, this.java$nio$Buffer$$$undposition$1)) | 0); | |
| + var byteArrayOffset = ((this.$$undbyteArrayOffset$3 + (this.java$nio$Buffer$$$undposition$1 << 3)) | 0); | |
| var readOnly = this.$$undreadOnly$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| return new $c_Ljava_nio_HeapByteBufferDoubleView().init___I__AB__I__I__I__Z__Z(newCapacity, byteArray, byteArrayOffset, 0, newCapacity, readOnly, isBigEndian) | |
| @@ -274463,7 +277966,7 @@ | |
| var array = this.$$undbyteArray$3; | |
| var arrayOffset = this.$$undbyteArrayOffset$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| - var idx = (($imul(8, p) + arrayOffset) | 0); | |
| + var idx = (((p << 3) + arrayOffset) | 0); | |
| var _1 = array.u[idx]; | |
| var _2 = array.u[((1 + idx) | 0)]; | |
| var _3 = array.u[((2 + idx) | 0)]; | |
| @@ -274531,7 +278034,7 @@ | |
| $c_Ljava_nio_HeapByteBufferFloatView.prototype.slice__Ljava_nio_FloatBuffer = (function() { | |
| var newCapacity = ((this.$$undlimit$1 - this.java$nio$Buffer$$$undposition$1) | 0); | |
| var byteArray = this.$$undbyteArray$3; | |
| - var byteArrayOffset = ((this.$$undbyteArrayOffset$3 + $imul(4, this.java$nio$Buffer$$$undposition$1)) | 0); | |
| + var byteArrayOffset = ((this.$$undbyteArrayOffset$3 + (this.java$nio$Buffer$$$undposition$1 << 2)) | 0); | |
| var readOnly = this.$$undreadOnly$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| return new $c_Ljava_nio_HeapByteBufferFloatView().init___I__AB__I__I__I__Z__Z(newCapacity, byteArray, byteArrayOffset, 0, newCapacity, readOnly, isBigEndian) | |
| @@ -274545,7 +278048,7 @@ | |
| var array = this.$$undbyteArray$3; | |
| var arrayOffset = this.$$undbyteArrayOffset$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| - var idx = (($imul(4, p) + arrayOffset) | 0); | |
| + var idx = (((p << 2) + arrayOffset) | 0); | |
| var _1 = array.u[idx]; | |
| var _2 = array.u[((1 + idx) | 0)]; | |
| var _3 = array.u[((2 + idx) | 0)]; | |
| @@ -274578,7 +278081,7 @@ | |
| var array = this.$$undbyteArray$3; | |
| var arrayOffset = this.$$undbyteArrayOffset$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| - var idx = (($imul(4, index) + arrayOffset) | 0); | |
| + var idx = (((index << 2) + arrayOffset) | 0); | |
| var _1 = array.u[idx]; | |
| var _2 = array.u[((1 + idx) | 0)]; | |
| var _3 = array.u[((2 + idx) | 0)]; | |
| @@ -274597,7 +278100,7 @@ | |
| var array = this.$$undbyteArray$3; | |
| var arrayOffset = this.$$undbyteArrayOffset$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| - var idx = (($imul(4, index) + arrayOffset) | 0); | |
| + var idx = (((index << 2) + arrayOffset) | 0); | |
| var _1 = array.u[idx]; | |
| var _2 = array.u[((1 + idx) | 0)]; | |
| var _3 = array.u[((2 + idx) | 0)]; | |
| @@ -274647,7 +278150,7 @@ | |
| var bs_$_$$und3$1 = _2; | |
| var bs_$_$$und4$1 = _1 | |
| }; | |
| - var idx = (($imul(4, index) + arrayOffset) | 0); | |
| + var idx = (((index << 2) + arrayOffset) | 0); | |
| array.u[idx] = $uB(bs_$_$$und1$1); | |
| array.u[((1 + idx) | 0)] = $uB(bs_$_$$und2$1); | |
| array.u[((2 + idx) | 0)] = $uB(bs_$_$$und3$1); | |
| @@ -274695,7 +278198,7 @@ | |
| var bs_$_$$und3$1 = _2; | |
| var bs_$_$$und4$1 = _1 | |
| }; | |
| - var idx = (($imul(4, index) + arrayOffset) | 0); | |
| + var idx = (((index << 2) + arrayOffset) | 0); | |
| array.u[idx] = $uB(bs_$_$$und1$1); | |
| array.u[((1 + idx) | 0)] = $uB(bs_$_$$und2$1); | |
| array.u[((2 + idx) | 0)] = $uB(bs_$_$$und3$1); | |
| @@ -274724,7 +278227,7 @@ | |
| var array = this.$$undbyteArray$3; | |
| var arrayOffset = this.$$undbyteArrayOffset$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| - var idx = (($imul(4, index) + arrayOffset) | 0); | |
| + var idx = (((index << 2) + arrayOffset) | 0); | |
| var _1 = array.u[idx]; | |
| var _2 = array.u[((1 + idx) | 0)]; | |
| var _3 = array.u[((2 + idx) | 0)]; | |
| @@ -274745,7 +278248,7 @@ | |
| throw new $c_Ljava_nio_ReadOnlyBufferException().init___() | |
| }; | |
| var len = ((this.$$undlimit$1 - this.java$nio$Buffer$$$undposition$1) | 0); | |
| - $systemArraycopy(this.$$undbyteArray$3, ((this.$$undbyteArrayOffset$3 + $imul(4, this.java$nio$Buffer$$$undposition$1)) | 0), this.$$undbyteArray$3, this.$$undbyteArrayOffset$3, $imul(4, len)); | |
| + $systemArraycopy(this.$$undbyteArray$3, ((this.$$undbyteArrayOffset$3 + (this.java$nio$Buffer$$$undposition$1 << 2)) | 0), this.$$undbyteArray$3, this.$$undbyteArrayOffset$3, (len << 2)); | |
| this.$$undmark$1 = (-1); | |
| this.limit__I__Ljava_nio_Buffer(this.$$undcapacity$1); | |
| this.position__I__Ljava_nio_Buffer(len); | |
| @@ -274789,7 +278292,7 @@ | |
| var bs_$_$$und3$1 = _2; | |
| var bs_$_$$und4$1 = _1 | |
| }; | |
| - var idx = (($imul(4, p) + arrayOffset) | 0); | |
| + var idx = (((p << 2) + arrayOffset) | 0); | |
| array.u[idx] = $uB(bs_$_$$und1$1); | |
| array.u[((1 + idx) | 0)] = $uB(bs_$_$$und2$1); | |
| array.u[((2 + idx) | 0)] = $uB(bs_$_$$und3$1); | |
| @@ -274850,7 +278353,7 @@ | |
| var array = this.$$undbyteArray$3; | |
| var arrayOffset = this.$$undbyteArrayOffset$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| - var idx = (($imul(4, index) + arrayOffset) | 0); | |
| + var idx = (((index << 2) + arrayOffset) | 0); | |
| var _1 = array.u[idx]; | |
| var _2 = array.u[((1 + idx) | 0)]; | |
| var _3 = array.u[((2 + idx) | 0)]; | |
| @@ -274886,7 +278389,7 @@ | |
| var array = this.$$undbyteArray$3; | |
| var arrayOffset = this.$$undbyteArrayOffset$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| - var idx = (($imul(4, p) + arrayOffset) | 0); | |
| + var idx = (((p << 2) + arrayOffset) | 0); | |
| var _1 = array.u[idx]; | |
| var _2 = array.u[((1 + idx) | 0)]; | |
| var _3 = array.u[((2 + idx) | 0)]; | |
| @@ -274922,7 +278425,7 @@ | |
| var bs_$_$$und3$1 = _2; | |
| var bs_$_$$und4$1 = _1 | |
| }; | |
| - var idx = (($imul(4, index) + arrayOffset) | 0); | |
| + var idx = (((index << 2) + arrayOffset) | 0); | |
| array.u[idx] = $uB(bs_$_$$und1$1); | |
| array.u[((1 + idx) | 0)] = $uB(bs_$_$$und2$1); | |
| array.u[((2 + idx) | 0)] = $uB(bs_$_$$und3$1); | |
| @@ -274942,7 +278445,7 @@ | |
| var array = this.$$undbyteArray$3; | |
| var arrayOffset = this.$$undbyteArrayOffset$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| - var idx = (($imul(4, index) + arrayOffset) | 0); | |
| + var idx = (((index << 2) + arrayOffset) | 0); | |
| var _1 = array.u[idx]; | |
| var _2 = array.u[((1 + idx) | 0)]; | |
| var _3 = array.u[((2 + idx) | 0)]; | |
| @@ -274957,7 +278460,7 @@ | |
| var array = this.$$undbyteArray$3; | |
| var arrayOffset = this.$$undbyteArrayOffset$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| - var idx = (($imul(4, index) + arrayOffset) | 0); | |
| + var idx = (((index << 2) + arrayOffset) | 0); | |
| var _1 = array.u[idx]; | |
| var _2 = array.u[((1 + idx) | 0)]; | |
| var _3 = array.u[((2 + idx) | 0)]; | |
| @@ -275005,7 +278508,7 @@ | |
| var bs_$_$$und3$1 = _2; | |
| var bs_$_$$und4$1 = _1 | |
| }; | |
| - var idx = (($imul(4, index) + arrayOffset) | 0); | |
| + var idx = (((index << 2) + arrayOffset) | 0); | |
| array.u[idx] = $uB(bs_$_$$und1$1); | |
| array.u[((1 + idx) | 0)] = $uB(bs_$_$$und2$1); | |
| array.u[((2 + idx) | 0)] = $uB(bs_$_$$und3$1); | |
| @@ -275018,7 +278521,7 @@ | |
| $c_Ljava_nio_HeapByteBufferIntView.prototype.slice__Ljava_nio_IntBuffer = (function() { | |
| var newCapacity = ((this.$$undlimit$1 - this.java$nio$Buffer$$$undposition$1) | 0); | |
| var byteArray = this.$$undbyteArray$3; | |
| - var byteArrayOffset = ((this.$$undbyteArrayOffset$3 + $imul(4, this.java$nio$Buffer$$$undposition$1)) | 0); | |
| + var byteArrayOffset = ((this.$$undbyteArrayOffset$3 + (this.java$nio$Buffer$$$undposition$1 << 2)) | 0); | |
| var readOnly = this.$$undreadOnly$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| return new $c_Ljava_nio_HeapByteBufferIntView().init___I__AB__I__I__I__Z__Z(newCapacity, byteArray, byteArrayOffset, 0, newCapacity, readOnly, isBigEndian) | |
| @@ -275050,7 +278553,7 @@ | |
| var bs_$_$$und3$1 = _2; | |
| var bs_$_$$und4$1 = _1 | |
| }; | |
| - var idx = (($imul(4, p) + arrayOffset) | 0); | |
| + var idx = (((p << 2) + arrayOffset) | 0); | |
| array.u[idx] = $uB(bs_$_$$und1$1); | |
| array.u[((1 + idx) | 0)] = $uB(bs_$_$$und2$1); | |
| array.u[((2 + idx) | 0)] = $uB(bs_$_$$und3$1); | |
| @@ -275062,7 +278565,7 @@ | |
| throw new $c_Ljava_nio_ReadOnlyBufferException().init___() | |
| }; | |
| var len = ((this.$$undlimit$1 - this.java$nio$Buffer$$$undposition$1) | 0); | |
| - $systemArraycopy(this.$$undbyteArray$3, ((this.$$undbyteArrayOffset$3 + $imul(4, this.java$nio$Buffer$$$undposition$1)) | 0), this.$$undbyteArray$3, this.$$undbyteArrayOffset$3, $imul(4, len)); | |
| + $systemArraycopy(this.$$undbyteArray$3, ((this.$$undbyteArrayOffset$3 + (this.java$nio$Buffer$$$undposition$1 << 2)) | 0), this.$$undbyteArray$3, this.$$undbyteArrayOffset$3, (len << 2)); | |
| this.$$undmark$1 = (-1); | |
| this.limit__I__Ljava_nio_Buffer(this.$$undcapacity$1); | |
| this.position__I__Ljava_nio_Buffer(len); | |
| @@ -275124,7 +278627,7 @@ | |
| var array = this.$$undbyteArray$3; | |
| var arrayOffset = this.$$undbyteArrayOffset$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| - var idx = (($imul(8, index) + arrayOffset) | 0); | |
| + var idx = (((index << 3) + arrayOffset) | 0); | |
| var _1 = array.u[idx]; | |
| var _2 = array.u[((1 + idx) | 0)]; | |
| var _3 = array.u[((2 + idx) | 0)]; | |
| @@ -275194,7 +278697,7 @@ | |
| var bs_$_$$und7$1 = _2; | |
| var bs_$_$$und8$1 = _1 | |
| }; | |
| - var idx = (($imul(8, p) + arrayOffset) | 0); | |
| + var idx = (((p << 3) + arrayOffset) | 0); | |
| array.u[idx] = $uB(bs_$_$$und1$1); | |
| array.u[((1 + idx) | 0)] = $uB(bs_$_$$und2$1); | |
| array.u[((2 + idx) | 0)] = $uB(bs_$_$$und3$1); | |
| @@ -275209,7 +278712,7 @@ | |
| var array = this.$$undbyteArray$3; | |
| var arrayOffset = this.$$undbyteArrayOffset$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| - var idx = (($imul(8, index) + arrayOffset) | 0); | |
| + var idx = (((index << 3) + arrayOffset) | 0); | |
| var _1 = array.u[idx]; | |
| var _2 = array.u[((1 + idx) | 0)]; | |
| var _3 = array.u[((2 + idx) | 0)]; | |
| @@ -275280,7 +278783,7 @@ | |
| var bs_$_$$und7$1 = _2; | |
| var bs_$_$$und8$1 = _1 | |
| }; | |
| - var idx = (($imul(8, index) + arrayOffset) | 0); | |
| + var idx = (((index << 3) + arrayOffset) | 0); | |
| array.u[idx] = $uB(bs_$_$$und1$1); | |
| array.u[((1 + idx) | 0)] = $uB(bs_$_$$und2$1); | |
| array.u[((2 + idx) | 0)] = $uB(bs_$_$$und3$1); | |
| @@ -275299,7 +278802,7 @@ | |
| throw new $c_Ljava_nio_ReadOnlyBufferException().init___() | |
| }; | |
| var len = ((this.$$undlimit$1 - this.java$nio$Buffer$$$undposition$1) | 0); | |
| - $systemArraycopy(this.$$undbyteArray$3, ((this.$$undbyteArrayOffset$3 + $imul(8, this.java$nio$Buffer$$$undposition$1)) | 0), this.$$undbyteArray$3, this.$$undbyteArrayOffset$3, $imul(8, len)); | |
| + $systemArraycopy(this.$$undbyteArray$3, ((this.$$undbyteArrayOffset$3 + (this.java$nio$Buffer$$$undposition$1 << 3)) | 0), this.$$undbyteArray$3, this.$$undbyteArrayOffset$3, (len << 3)); | |
| this.$$undmark$1 = (-1); | |
| this.limit__I__Ljava_nio_Buffer(this.$$undcapacity$1); | |
| this.position__I__Ljava_nio_Buffer(len); | |
| @@ -275324,7 +278827,7 @@ | |
| var array = this.$$undbyteArray$3; | |
| var arrayOffset = this.$$undbyteArrayOffset$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| - var idx = (($imul(8, index) + arrayOffset) | 0); | |
| + var idx = (((index << 3) + arrayOffset) | 0); | |
| var _1 = array.u[idx]; | |
| var _2 = array.u[((1 + idx) | 0)]; | |
| var _3 = array.u[((2 + idx) | 0)]; | |
| @@ -275386,7 +278889,7 @@ | |
| var bs_$_$$und7$1 = _2; | |
| var bs_$_$$und8$1 = _1 | |
| }; | |
| - var idx = (($imul(8, index) + arrayOffset) | 0); | |
| + var idx = (((index << 3) + arrayOffset) | 0); | |
| array.u[idx] = $uB(bs_$_$$und1$1); | |
| array.u[((1 + idx) | 0)] = $uB(bs_$_$$und2$1); | |
| array.u[((2 + idx) | 0)] = $uB(bs_$_$$und3$1); | |
| @@ -275429,7 +278932,7 @@ | |
| $c_Ljava_nio_HeapByteBufferLongView.prototype.slice__Ljava_nio_LongBuffer = (function() { | |
| var newCapacity = ((this.$$undlimit$1 - this.java$nio$Buffer$$$undposition$1) | 0); | |
| var byteArray = this.$$undbyteArray$3; | |
| - var byteArrayOffset = ((this.$$undbyteArrayOffset$3 + $imul(8, this.java$nio$Buffer$$$undposition$1)) | 0); | |
| + var byteArrayOffset = ((this.$$undbyteArrayOffset$3 + (this.java$nio$Buffer$$$undposition$1 << 3)) | 0); | |
| var readOnly = this.$$undreadOnly$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| return new $c_Ljava_nio_HeapByteBufferLongView().init___I__AB__I__I__I__Z__Z(newCapacity, byteArray, byteArrayOffset, 0, newCapacity, readOnly, isBigEndian) | |
| @@ -275446,7 +278949,7 @@ | |
| var array = this.$$undbyteArray$3; | |
| var arrayOffset = this.$$undbyteArrayOffset$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| - var idx = (($imul(8, p) + arrayOffset) | 0); | |
| + var idx = (((p << 3) + arrayOffset) | 0); | |
| var _1 = array.u[idx]; | |
| var _2 = array.u[((1 + idx) | 0)]; | |
| var _3 = array.u[((2 + idx) | 0)]; | |
| @@ -275503,7 +279006,7 @@ | |
| $c_Ljava_nio_HeapByteBufferShortView.prototype.slice__Ljava_nio_ShortBuffer = (function() { | |
| var newCapacity = ((this.$$undlimit$1 - this.java$nio$Buffer$$$undposition$1) | 0); | |
| var byteArray = this.$$undbyteArray$3; | |
| - var byteArrayOffset = ((this.$$undbyteArrayOffset$3 + $imul(2, this.java$nio$Buffer$$$undposition$1)) | 0); | |
| + var byteArrayOffset = ((this.$$undbyteArrayOffset$3 + (this.java$nio$Buffer$$$undposition$1 << 1)) | 0); | |
| var readOnly = this.$$undreadOnly$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| return new $c_Ljava_nio_HeapByteBufferShortView().init___I__AB__I__I__I__Z__Z(newCapacity, byteArray, byteArrayOffset, 0, newCapacity, readOnly, isBigEndian) | |
| @@ -275515,7 +279018,7 @@ | |
| var array = this.$$undbyteArray$3; | |
| var arrayOffset = this.$$undbyteArrayOffset$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| - var idx = (($imul(2, index) + arrayOffset) | 0); | |
| + var idx = (((index << 1) + arrayOffset) | 0); | |
| var _1 = array.u[idx]; | |
| var _2 = array.u[((1 + idx) | 0)]; | |
| var b0 = $uB(_1); | |
| @@ -275536,7 +279039,7 @@ | |
| var array = this.$$undbyteArray$3; | |
| var arrayOffset = this.$$undbyteArrayOffset$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| - var idx = (($imul(2, index) + arrayOffset) | 0); | |
| + var idx = (((index << 1) + arrayOffset) | 0); | |
| var _1 = array.u[idx]; | |
| var _2 = array.u[((1 + idx) | 0)]; | |
| var b0 = $uB(_1); | |
| @@ -275562,7 +279065,7 @@ | |
| var array = this.$$undbyteArray$3; | |
| var arrayOffset = this.$$undbyteArrayOffset$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| - var idx = (($imul(2, index) + arrayOffset) | 0); | |
| + var idx = (((index << 1) + arrayOffset) | 0); | |
| var _1 = array.u[idx]; | |
| var _2 = array.u[((1 + idx) | 0)]; | |
| var b0 = $uB(_1); | |
| @@ -275622,7 +279125,7 @@ | |
| var bs_$_$$und1$f = _2; | |
| var bs_$_$$und2$f = _1 | |
| }; | |
| - var idx = (($imul(2, index) + arrayOffset) | 0); | |
| + var idx = (((index << 1) + arrayOffset) | 0); | |
| array.u[idx] = $uB(bs_$_$$und1$f); | |
| array.u[((1 + idx) | 0)] = $uB(bs_$_$$und2$f); | |
| selfPos = ((1 + selfPos) | 0); | |
| @@ -275647,7 +279150,7 @@ | |
| throw new $c_Ljava_nio_ReadOnlyBufferException().init___() | |
| }; | |
| var len = ((this.$$undlimit$1 - this.java$nio$Buffer$$$undposition$1) | 0); | |
| - $systemArraycopy(this.$$undbyteArray$3, ((this.$$undbyteArrayOffset$3 + $imul(2, this.java$nio$Buffer$$$undposition$1)) | 0), this.$$undbyteArray$3, this.$$undbyteArrayOffset$3, $imul(2, len)); | |
| + $systemArraycopy(this.$$undbyteArray$3, ((this.$$undbyteArrayOffset$3 + (this.java$nio$Buffer$$$undposition$1 << 1)) | 0), this.$$undbyteArray$3, this.$$undbyteArrayOffset$3, (len << 1)); | |
| this.$$undmark$1 = (-1); | |
| this.limit__I__Ljava_nio_Buffer(this.$$undcapacity$1); | |
| this.position__I__Ljava_nio_Buffer(len); | |
| @@ -275665,7 +279168,7 @@ | |
| var array = this.$$undbyteArray$3; | |
| var arrayOffset = this.$$undbyteArrayOffset$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| - var idx = (($imul(2, p) + arrayOffset) | 0); | |
| + var idx = (((p << 1) + arrayOffset) | 0); | |
| var _1 = array.u[idx]; | |
| var _2 = array.u[((1 + idx) | 0)]; | |
| var b0 = $uB(_1); | |
| @@ -275694,7 +279197,7 @@ | |
| var bs_$_$$und1$f = _2; | |
| var bs_$_$$und2$f = _1 | |
| }; | |
| - var idx = (($imul(2, p) + arrayOffset) | 0); | |
| + var idx = (((p << 1) + arrayOffset) | 0); | |
| array.u[idx] = $uB(bs_$_$$und1$f); | |
| array.u[((1 + idx) | 0)] = $uB(bs_$_$$und2$f); | |
| return this | |
| @@ -275729,7 +279232,7 @@ | |
| var bs_$_$$und1$f = _2; | |
| var bs_$_$$und2$f = _1 | |
| }; | |
| - var idx = (($imul(2, index) + arrayOffset) | 0); | |
| + var idx = (((index << 1) + arrayOffset) | 0); | |
| array.u[idx] = $uB(bs_$_$$und1$f); | |
| array.u[((1 + idx) | 0)] = $uB(bs_$_$$und2$f); | |
| return this | |
| @@ -276645,7 +280148,7 @@ | |
| var byteBufferPos$1 = this.java$nio$Buffer$$$undposition$1; | |
| var byteBufferLimit$1 = this.$$undlimit$1; | |
| var viewCapacity$1 = ((((byteBufferLimit$1 - byteBufferPos$1) | 0) / 2) | 0); | |
| - var byteLength = $imul(2, viewCapacity$1); | |
| + var byteLength = (viewCapacity$1 << 1); | |
| var buffer$1 = byteArray$1.buffer; | |
| var byteOffset$1 = (($uI(byteArray$1.byteOffset) + byteBufferPos$1) | 0); | |
| var dataView = ((byteLength === 0) ? { | |
| @@ -276674,7 +280177,7 @@ | |
| var byteBufferPos$1 = this.java$nio$Buffer$$$undposition$1; | |
| var byteBufferLimit$1 = this.$$undlimit$1; | |
| var viewCapacity$1 = ((((byteBufferLimit$1 - byteBufferPos$1) | 0) / 8) | 0); | |
| - var byteLength = $imul(8, viewCapacity$1); | |
| + var byteLength = (viewCapacity$1 << 3); | |
| var buffer$1 = byteArray$1.buffer; | |
| var byteOffset$1 = (($uI(byteArray$1.byteOffset) + byteBufferPos$1) | 0); | |
| var dataView = ((byteLength === 0) ? { | |
| @@ -276822,7 +280325,7 @@ | |
| var byteBufferPos = this.java$nio$Buffer$$$undposition$1; | |
| var byteBufferLimit = this.$$undlimit$1; | |
| var viewCapacity = ((((byteBufferLimit - byteBufferPos) | 0) / 8) | 0); | |
| - var byteLength = $imul(8, viewCapacity); | |
| + var byteLength = (viewCapacity << 3); | |
| var buffer = byteArray.buffer; | |
| var byteOffset = (($uI(byteArray.byteOffset) + byteBufferPos) | 0); | |
| var dataView = ((byteLength === 0) ? { | |
| @@ -276932,7 +280435,7 @@ | |
| var byteBufferPos$1 = this.java$nio$Buffer$$$undposition$1; | |
| var byteBufferLimit$1 = this.$$undlimit$1; | |
| var viewCapacity$1 = ((((byteBufferLimit$1 - byteBufferPos$1) | 0) / 4) | 0); | |
| - var byteLength = $imul(4, viewCapacity$1); | |
| + var byteLength = (viewCapacity$1 << 2); | |
| var buffer$1 = byteArray$1.buffer; | |
| var byteOffset$1 = (($uI(byteArray$1.byteOffset) + byteBufferPos$1) | 0); | |
| var dataView = ((byteLength === 0) ? { | |
| @@ -277029,7 +280532,7 @@ | |
| var byteBufferPos$1 = this.java$nio$Buffer$$$undposition$1; | |
| var byteBufferLimit$1 = this.$$undlimit$1; | |
| var viewCapacity$1 = ((((byteBufferLimit$1 - byteBufferPos$1) | 0) / 4) | 0); | |
| - var byteLength = $imul(4, viewCapacity$1); | |
| + var byteLength = (viewCapacity$1 << 2); | |
| var buffer$1 = byteArray$1.buffer; | |
| var byteOffset$1 = (($uI(byteArray$1.byteOffset) + byteBufferPos$1) | 0); | |
| var dataView = ((byteLength === 0) ? { | |
| @@ -277066,7 +280569,7 @@ | |
| var byteBufferPos$1 = this.java$nio$Buffer$$$undposition$1; | |
| var byteBufferLimit$1 = this.$$undlimit$1; | |
| var viewCapacity$1 = ((((byteBufferLimit$1 - byteBufferPos$1) | 0) / 2) | 0); | |
| - var byteLength = $imul(2, viewCapacity$1); | |
| + var byteLength = (viewCapacity$1 << 1); | |
| var buffer$1 = byteArray$1.buffer; | |
| var byteOffset$1 = (($uI(byteArray$1.byteOffset) + byteBufferPos$1) | 0); | |
| var dataView = ((byteLength === 0) ? { | |
| @@ -282734,7 +286237,7 @@ | |
| $c_Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$OverloadedConstructorSub$1.prototype = new $h_Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$OverloadedConstructorSub$1(); | |
| $c_Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$OverloadedConstructorSub$1.prototype.constructor = $c_Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$OverloadedConstructorSub$1; | |
| function $s_Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$OverrideDefaultParametersChild$1__dependent$default$2__Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$OverrideDefaultParametersChild$1__I__I($this, x) { | |
| - return $imul(2, x) | |
| + return (x << 1) | |
| } | |
| function $s_Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$OverrideDefaultParametersChild$1__bar__Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$OverrideDefaultParametersChild$1__I__I__I($this, x, y) { | |
| var jsx$1 = $c_Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$OverrideDefaultParametersParent$1.prototype.bar.call($this, x, y); | |
| @@ -283364,7 +286867,7 @@ | |
| } | |
| $h_Lorg_scalajs_testsuite_niobuffer_CharBufferTest$ByteBufferCharViewFactory.prototype = $c_Lorg_scalajs_testsuite_niobuffer_CharBufferTest$ByteBufferCharViewFactory.prototype; | |
| $c_Lorg_scalajs_testsuite_niobuffer_CharBufferTest$ByteBufferCharViewFactory.prototype.baseAllocBuffer__I__Ljava_nio_CharBuffer = (function(capacity) { | |
| - return $as_Ljava_nio_ByteBuffer(this.byteBufferFactory$3.allocBuffer__I__Ljava_nio_Buffer($imul(2, capacity))).order__Ljava_nio_ByteOrder__Ljava_nio_ByteBuffer(this.order$3).asCharBuffer__Ljava_nio_CharBuffer() | |
| + return $as_Ljava_nio_ByteBuffer(this.byteBufferFactory$3.allocBuffer__I__Ljava_nio_Buffer((capacity << 1))).order__Ljava_nio_ByteOrder__Ljava_nio_ByteBuffer(this.order$3).asCharBuffer__Ljava_nio_CharBuffer() | |
| }); | |
| $c_Lorg_scalajs_testsuite_niobuffer_CharBufferTest$ByteBufferCharViewFactory.prototype.notify__ = (function() { | |
| return (void 0) | |
| @@ -284129,7 +287632,7 @@ | |
| return this | |
| }); | |
| $c_Lorg_scalajs_testsuite_niobuffer_DoubleBufferTest$ByteBufferDoubleViewFactory.prototype.baseAllocBuffer__I__Ljava_nio_DoubleBuffer = (function(capacity) { | |
| - return $as_Ljava_nio_ByteBuffer(this.byteBufferFactory$3.allocBuffer__I__Ljava_nio_Buffer($imul(8, capacity))).order__Ljava_nio_ByteOrder__Ljava_nio_ByteBuffer(this.order$3).asDoubleBuffer__Ljava_nio_DoubleBuffer() | |
| + return $as_Ljava_nio_ByteBuffer(this.byteBufferFactory$3.allocBuffer__I__Ljava_nio_Buffer((capacity << 3))).order__Ljava_nio_ByteOrder__Ljava_nio_ByteBuffer(this.order$3).asDoubleBuffer__Ljava_nio_DoubleBuffer() | |
| }); | |
| $c_Lorg_scalajs_testsuite_niobuffer_DoubleBufferTest$ByteBufferDoubleViewFactory.prototype.allocBuffer__I__Ljava_nio_Buffer = (function(capacity) { | |
| return this.baseAllocBuffer__I__Ljava_nio_DoubleBuffer(capacity) | |
| @@ -284855,7 +288358,7 @@ | |
| return this.baseAllocBuffer__I__Ljava_nio_FloatBuffer(capacity) | |
| }); | |
| $c_Lorg_scalajs_testsuite_niobuffer_FloatBufferTest$ByteBufferFloatViewFactory.prototype.baseAllocBuffer__I__Ljava_nio_FloatBuffer = (function(capacity) { | |
| - return $as_Ljava_nio_ByteBuffer(this.byteBufferFactory$3.allocBuffer__I__Ljava_nio_Buffer($imul(4, capacity))).order__Ljava_nio_ByteOrder__Ljava_nio_ByteBuffer(this.order$3).asFloatBuffer__Ljava_nio_FloatBuffer() | |
| + return $as_Ljava_nio_ByteBuffer(this.byteBufferFactory$3.allocBuffer__I__Ljava_nio_Buffer((capacity << 2))).order__Ljava_nio_ByteOrder__Ljava_nio_ByteBuffer(this.order$3).asFloatBuffer__Ljava_nio_FloatBuffer() | |
| }); | |
| $c_Lorg_scalajs_testsuite_niobuffer_FloatBufferTest$ByteBufferFloatViewFactory.prototype.allocBuffer__I__Ljava_nio_Buffer = (function(capacity) { | |
| return this.baseAllocBuffer__I__Ljava_nio_FloatBuffer(capacity) | |
| @@ -285557,7 +289060,7 @@ | |
| } | |
| $h_Lorg_scalajs_testsuite_niobuffer_IntBufferTest$ByteBufferIntViewFactory.prototype = $c_Lorg_scalajs_testsuite_niobuffer_IntBufferTest$ByteBufferIntViewFactory.prototype; | |
| $c_Lorg_scalajs_testsuite_niobuffer_IntBufferTest$ByteBufferIntViewFactory.prototype.baseAllocBuffer__I__Ljava_nio_IntBuffer = (function(capacity) { | |
| - return $as_Ljava_nio_ByteBuffer(this.byteBufferFactory$3.allocBuffer__I__Ljava_nio_Buffer($imul(4, capacity))).order__Ljava_nio_ByteOrder__Ljava_nio_ByteBuffer(this.order$3).asIntBuffer__Ljava_nio_IntBuffer() | |
| + return $as_Ljava_nio_ByteBuffer(this.byteBufferFactory$3.allocBuffer__I__Ljava_nio_Buffer((capacity << 2))).order__Ljava_nio_ByteOrder__Ljava_nio_ByteBuffer(this.order$3).asIntBuffer__Ljava_nio_IntBuffer() | |
| }); | |
| $c_Lorg_scalajs_testsuite_niobuffer_IntBufferTest$ByteBufferIntViewFactory.prototype.notify__ = (function() { | |
| return (void 0) | |
| @@ -286301,7 +289804,7 @@ | |
| return $s_Lorg_scalajs_testsuite_niobuffer_BufferFactory$ByteBufferViewFactory$class__allocBuffer__Lorg_scalajs_testsuite_niobuffer_BufferFactory$ByteBufferViewFactory__I__I__I__Ljava_nio_Buffer(this, pos, limit, capacity) | |
| }); | |
| $c_Lorg_scalajs_testsuite_niobuffer_LongBufferTest$ByteBufferLongViewFactory.prototype.baseAllocBuffer__I__Ljava_nio_LongBuffer = (function(capacity) { | |
| - return $as_Ljava_nio_ByteBuffer(this.byteBufferFactory$3.allocBuffer__I__Ljava_nio_Buffer($imul(8, capacity))).order__Ljava_nio_ByteOrder__Ljava_nio_ByteBuffer(this.order$3).asLongBuffer__Ljava_nio_LongBuffer() | |
| + return $as_Ljava_nio_ByteBuffer(this.byteBufferFactory$3.allocBuffer__I__Ljava_nio_Buffer((capacity << 3))).order__Ljava_nio_ByteOrder__Ljava_nio_ByteBuffer(this.order$3).asLongBuffer__Ljava_nio_LongBuffer() | |
| }); | |
| $c_Lorg_scalajs_testsuite_niobuffer_LongBufferTest$ByteBufferLongViewFactory.prototype.withContent__I__I__I__sc_Seq__Ljava_nio_Buffer = (function(pos, limit, capacity, content) { | |
| return $s_Lorg_scalajs_testsuite_niobuffer_BufferFactory$ByteBufferViewFactory$class__withContent__Lorg_scalajs_testsuite_niobuffer_BufferFactory$ByteBufferViewFactory__I__I__I__sc_Seq__Ljava_nio_Buffer(this, pos, limit, capacity, content) | |
| @@ -290633,7 +294136,7 @@ | |
| return this | |
| }); | |
| $c_Lorg_scalajs_testsuite_niobuffer_ShortBufferTest$ByteBufferShortViewFactory.prototype.baseAllocBuffer__I__Ljava_nio_ShortBuffer = (function(capacity) { | |
| - return $as_Ljava_nio_ByteBuffer(this.byteBufferFactory$3.allocBuffer__I__Ljava_nio_Buffer($imul(2, capacity))).order__Ljava_nio_ByteOrder__Ljava_nio_ByteBuffer(this.order$3).asShortBuffer__Ljava_nio_ShortBuffer() | |
| + return $as_Ljava_nio_ByteBuffer(this.byteBufferFactory$3.allocBuffer__I__Ljava_nio_Buffer((capacity << 1))).order__Ljava_nio_ByteOrder__Ljava_nio_ByteBuffer(this.order$3).asShortBuffer__Ljava_nio_ShortBuffer() | |
| }); | |
| $c_Lorg_scalajs_testsuite_niobuffer_ShortBufferTest$ByteBufferShortViewFactory.prototype.allocBuffer__I__Ljava_nio_Buffer = (function(capacity) { | |
| return this.baseAllocBuffer__I__Ljava_nio_ShortBuffer(capacity) | |
| @@ -295707,7 +299210,7 @@ | |
| if ((root === null)) { | |
| var jsx$1 = null | |
| } else { | |
| - var maximumHeight = (((-3) + $imul(2, ((32 - $clz32(((1 + root.count$1) | 0))) | 0))) | 0); | |
| + var maximumHeight = (((-3) + (((32 - $clz32(((1 + root.count$1) | 0))) | 0) << 1)) | 0); | |
| var jsx$1 = $newArrayObject($d_sci_RedBlackTree$Tree.getArrayOf(), [maximumHeight]) | |
| }; | |
| this.stackOfNexts$1 = jsx$1; | |
| @@ -296455,9 +299958,9 @@ | |
| }); | |
| $c_scm_WrappedArrayBuilder.prototype.ensureSize__p1__I__V = (function(size) { | |
| if ((this.capacity$1 < size)) { | |
| - var newsize = ((this.capacity$1 === 0) ? 16 : $imul(2, this.capacity$1)); | |
| + var newsize = ((this.capacity$1 === 0) ? 16 : (this.capacity$1 << 1)); | |
| while ((newsize < size)) { | |
| - newsize = $imul(2, newsize) | |
| + newsize = (newsize << 1) | |
| }; | |
| this.resize__p1__I__V(newsize) | |
| } | |
| @@ -298068,7 +301571,7 @@ | |
| this.java$io$OutputStreamWriter$$outBuf$f.flip__Ljava_nio_Buffer(); | |
| var jsx$1 = $m_Ljava_nio_ByteBuffer$(); | |
| var this$2 = this.java$io$OutputStreamWriter$$outBuf$f; | |
| - var newBuf = jsx$1.allocate__I__Ljava_nio_ByteBuffer($imul(2, this$2.$$undcapacity$1)); | |
| + var newBuf = jsx$1.allocate__I__Ljava_nio_ByteBuffer((this$2.$$undcapacity$1 << 1)); | |
| newBuf.put__Ljava_nio_ByteBuffer__Ljava_nio_ByteBuffer(this.java$io$OutputStreamWriter$$outBuf$f); | |
| this.java$io$OutputStreamWriter$$outBuf$f = newBuf | |
| } | |
| @@ -304155,7 +307658,7 @@ | |
| }, (void 0), $d_sr_AbstractFunction2); | |
| $c_Lorg_scalajs_testsuite_jsinterop_PromiseMock$MockPromise$$anonfun$then$1.prototype.$classData = $d_Lorg_scalajs_testsuite_jsinterop_PromiseMock$MockPromise$$anonfun$then$1; | |
| function $s_Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$ImplDeferredMembersFromJSParent$1__bar__Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$ImplDeferredMembersFromJSParent$1__I__I($this, y) { | |
| - return $imul(2, y) | |
| + return (y << 1) | |
| } | |
| /** @constructor */ | |
| function $c_Lorg_scalajs_testsuite_jsinterop_ScalaJSDefinedTest$ImplDeferredMembersFromJSParent$1(arg$1) { | |
| @@ -309317,7 +312820,7 @@ | |
| this.$$outer$2 = $$outer | |
| }; | |
| this.current$2 = start$1; | |
| - this.end$2 = $imul(64, $$outer.nwords__I()); | |
| + this.end$2 = ($$outer.nwords__I() << 6); | |
| return this | |
| }); | |
| $c_sc_BitSetLike$$anon$1.prototype.next__O = (function() { | |
| @@ -321677,7 +325180,7 @@ | |
| throw new $c_Ljava_nio_BufferOverflowException().init___() | |
| }; | |
| this.java$nio$Buffer$$$undposition$1 = ((1 + p) | 0); | |
| - this.$$unddataView$3.setUint16($imul(2, p), c, (!this.isBigEndian$3)); | |
| + this.$$unddataView$3.setUint16((p << 1), c, (!this.isBigEndian$3)); | |
| return this | |
| }); | |
| $c_Ljava_nio_DataViewCharBuffer.prototype.subSequence__I__I__jl_CharSequence = (function(start, end) { | |
| @@ -321689,7 +325192,7 @@ | |
| throw new $c_Ljava_nio_BufferUnderflowException().init___() | |
| }; | |
| this.java$nio$Buffer$$$undposition$1 = ((1 + p) | 0); | |
| - var c = (65535 & $uI(this.$$unddataView$3.getUint16($imul(2, p), (!this.isBigEndian$3)))); | |
| + var c = (65535 & $uI(this.$$unddataView$3.getUint16((p << 1), (!this.isBigEndian$3)))); | |
| return c | |
| }); | |
| $c_Ljava_nio_DataViewCharBuffer.prototype.duplicate__Ljava_nio_CharBuffer = (function() { | |
| @@ -321736,7 +325239,7 @@ | |
| while ((selfPos !== endPos)) { | |
| var index = selfPos; | |
| var value = src.u[arrayIndex]; | |
| - this.$$unddataView$3.setUint16($imul(2, index), value, (!this.isBigEndian$3)); | |
| + this.$$unddataView$3.setUint16((index << 1), value, (!this.isBigEndian$3)); | |
| selfPos = ((1 + selfPos) | 0); | |
| arrayIndex = ((1 + arrayIndex) | 0) | |
| }; | |
| @@ -321761,7 +325264,7 @@ | |
| while ((selfPos !== endPos)) { | |
| var jsx$1 = arrayIndex; | |
| var index = selfPos; | |
| - var c = (65535 & $uI(this.$$unddataView$3.getUint16($imul(2, index), (!this.isBigEndian$3)))); | |
| + var c = (65535 & $uI(this.$$unddataView$3.getUint16((index << 1), (!this.isBigEndian$3)))); | |
| dst.u[jsx$1] = c; | |
| selfPos = ((1 + selfPos) | 0); | |
| arrayIndex = ((1 + arrayIndex) | 0) | |
| @@ -321772,17 +325275,17 @@ | |
| return (void 0) | |
| }); | |
| $c_Ljava_nio_DataViewCharBuffer.prototype.store__I__C__V = (function(index, elem) { | |
| - this.$$unddataView$3.setUint16($imul(2, index), elem, (!this.isBigEndian$3)) | |
| + this.$$unddataView$3.setUint16((index << 1), elem, (!this.isBigEndian$3)) | |
| }); | |
| $c_Ljava_nio_DataViewCharBuffer.prototype.get__I__C = (function(index) { | |
| if (((index < 0) || (index >= this.$$undlimit$1))) { | |
| throw new $c_jl_IndexOutOfBoundsException().init___() | |
| }; | |
| - var c = (65535 & $uI(this.$$unddataView$3.getUint16($imul(2, index), (!this.isBigEndian$3)))); | |
| + var c = (65535 & $uI(this.$$unddataView$3.getUint16((index << 1), (!this.isBigEndian$3)))); | |
| return c | |
| }); | |
| $c_Ljava_nio_DataViewCharBuffer.prototype.load__I__C = (function(index) { | |
| - return (65535 & $uI(this.$$unddataView$3.getUint16($imul(2, index), (!this.isBigEndian$3)))) | |
| + return (65535 & $uI(this.$$unddataView$3.getUint16((index << 1), (!this.isBigEndian$3)))) | |
| }); | |
| $c_Ljava_nio_DataViewCharBuffer.prototype.put__I__C__Ljava_nio_CharBuffer = (function(index, c) { | |
| if (this.$$undreadOnly$3) { | |
| @@ -321791,7 +325294,7 @@ | |
| if (((index < 0) || (index >= this.$$undlimit$1))) { | |
| throw new $c_jl_IndexOutOfBoundsException().init___() | |
| }; | |
| - this.$$unddataView$3.setUint16($imul(2, index), c, (!this.isBigEndian$3)); | |
| + this.$$unddataView$3.setUint16((index << 1), c, (!this.isBigEndian$3)); | |
| return this | |
| }); | |
| $c_Ljava_nio_DataViewCharBuffer.prototype.slice__Ljava_nio_CharBuffer = (function() { | |
| @@ -321799,8 +325302,8 @@ | |
| var pos = this.java$nio$Buffer$$$undposition$1; | |
| var newCapacity = ((this.$$undlimit$1 - pos) | 0); | |
| var buffer = dataView.buffer; | |
| - var byteOffset = (($uI(dataView.byteOffset) + $imul(2, pos)) | 0); | |
| - var byteLength = $imul(2, newCapacity); | |
| + var byteOffset = (($uI(dataView.byteOffset) + (pos << 1)) | 0); | |
| + var byteLength = (newCapacity << 1); | |
| var slicedDataView = ((byteLength === 0) ? { | |
| "buffer": buffer, | |
| "byteOffset": byteOffset, | |
| @@ -321826,7 +325329,7 @@ | |
| while ((selfPos !== endPos)) { | |
| var index = selfPos; | |
| var value = src.u[arrayIndex]; | |
| - this.$$unddataView$3.setUint16($imul(2, index), value, (!this.isBigEndian$3)); | |
| + this.$$unddataView$3.setUint16((index << 1), value, (!this.isBigEndian$3)); | |
| selfPos = ((1 + selfPos) | 0); | |
| arrayIndex = ((1 + arrayIndex) | 0) | |
| } | |
| @@ -321845,7 +325348,7 @@ | |
| var byteArray = new $g.Int8Array(dataView.buffer, $uI(dataView.byteOffset), $uI(dataView.byteLength)); | |
| var pos = this.java$nio$Buffer$$$undposition$1; | |
| var lim = this.$$undlimit$1; | |
| - byteArray.set(byteArray.subarray($imul(2, pos), $imul(2, lim))); | |
| + byteArray.set(byteArray.subarray((pos << 1), (lim << 1))); | |
| this.$$undmark$1 = (-1); | |
| this.limit__I__Ljava_nio_Buffer(this.$$undcapacity$1); | |
| this.position__I__Ljava_nio_Buffer(((lim - pos) | 0)); | |
| @@ -321920,7 +325423,7 @@ | |
| var bs_$_$$und1$f = _2; | |
| var bs_$_$$und2$f = _1 | |
| }; | |
| - var idx = (($imul(2, p) + arrayOffset) | 0); | |
| + var idx = (((p << 1) + arrayOffset) | 0); | |
| array.u[idx] = $uB(bs_$_$$und1$f); | |
| array.u[((1 + idx) | 0)] = $uB(bs_$_$$und2$f); | |
| return this | |
| @@ -321937,7 +325440,7 @@ | |
| var array = this.$$undbyteArray$3; | |
| var arrayOffset = this.$$undbyteArrayOffset$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| - var idx = (($imul(2, p) + arrayOffset) | 0); | |
| + var idx = (((p << 1) + arrayOffset) | 0); | |
| var _1 = array.u[idx]; | |
| var _2 = array.u[((1 + idx) | 0)]; | |
| var b0 = $uB(_1); | |
| @@ -322005,7 +325508,7 @@ | |
| var bs_$_$$und1$f = _2; | |
| var bs_$_$$und2$f = _1 | |
| }; | |
| - var idx = (($imul(2, index) + arrayOffset) | 0); | |
| + var idx = (((index << 1) + arrayOffset) | 0); | |
| array.u[idx] = $uB(bs_$_$$und1$f); | |
| array.u[((1 + idx) | 0)] = $uB(bs_$_$$und2$f); | |
| selfPos = ((1 + selfPos) | 0); | |
| @@ -322035,7 +325538,7 @@ | |
| var array = this.$$undbyteArray$3; | |
| var arrayOffset = this.$$undbyteArrayOffset$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| - var idx = (($imul(2, index) + arrayOffset) | 0); | |
| + var idx = (((index << 1) + arrayOffset) | 0); | |
| var _1 = array.u[idx]; | |
| var _2 = array.u[((1 + idx) | 0)]; | |
| var b0 = $uB(_1); | |
| @@ -322063,7 +325566,7 @@ | |
| var bs_$_$$und1$f = _2; | |
| var bs_$_$$und2$f = _1 | |
| }; | |
| - var idx = (($imul(2, index) + arrayOffset) | 0); | |
| + var idx = (((index << 1) + arrayOffset) | 0); | |
| array.u[idx] = $uB(bs_$_$$und1$f); | |
| array.u[((1 + idx) | 0)] = $uB(bs_$_$$und2$f) | |
| }); | |
| @@ -322074,7 +325577,7 @@ | |
| var array = this.$$undbyteArray$3; | |
| var arrayOffset = this.$$undbyteArrayOffset$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| - var idx = (($imul(2, index) + arrayOffset) | 0); | |
| + var idx = (((index << 1) + arrayOffset) | 0); | |
| var _1 = array.u[idx]; | |
| var _2 = array.u[((1 + idx) | 0)]; | |
| var b0 = $uB(_1); | |
| @@ -322086,7 +325589,7 @@ | |
| var array = this.$$undbyteArray$3; | |
| var arrayOffset = this.$$undbyteArrayOffset$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| - var idx = (($imul(2, index) + arrayOffset) | 0); | |
| + var idx = (((index << 1) + arrayOffset) | 0); | |
| var _1 = array.u[idx]; | |
| var _2 = array.u[((1 + idx) | 0)]; | |
| var b0 = $uB(_1); | |
| @@ -322112,7 +325615,7 @@ | |
| var bs_$_$$und1$f = _2; | |
| var bs_$_$$und2$f = _1 | |
| }; | |
| - var idx = (($imul(2, index) + arrayOffset) | 0); | |
| + var idx = (((index << 1) + arrayOffset) | 0); | |
| array.u[idx] = $uB(bs_$_$$und1$f); | |
| array.u[((1 + idx) | 0)] = $uB(bs_$_$$und2$f); | |
| return this | |
| @@ -322120,7 +325623,7 @@ | |
| $c_Ljava_nio_HeapByteBufferCharView.prototype.slice__Ljava_nio_CharBuffer = (function() { | |
| var newCapacity = ((this.$$undlimit$1 - this.java$nio$Buffer$$$undposition$1) | 0); | |
| var byteArray = this.$$undbyteArray$3; | |
| - var byteArrayOffset = ((this.$$undbyteArrayOffset$3 + $imul(2, this.java$nio$Buffer$$$undposition$1)) | 0); | |
| + var byteArrayOffset = ((this.$$undbyteArrayOffset$3 + (this.java$nio$Buffer$$$undposition$1 << 1)) | 0); | |
| var readOnly = this.$$undreadOnly$3; | |
| var isBigEndian = this.isBigEndian$3; | |
| return new $c_Ljava_nio_HeapByteBufferCharView().init___I__AB__I__I__I__Z__Z(newCapacity, byteArray, byteArrayOffset, 0, newCapacity, readOnly, isBigEndian) | |
| @@ -322136,7 +325639,7 @@ | |
| throw new $c_Ljava_nio_ReadOnlyBufferException().init___() | |
| }; | |
| var len = ((this.$$undlimit$1 - this.java$nio$Buffer$$$undposition$1) | 0); | |
| - $systemArraycopy(this.$$undbyteArray$3, ((this.$$undbyteArrayOffset$3 + $imul(2, this.java$nio$Buffer$$$undposition$1)) | 0), this.$$undbyteArray$3, this.$$undbyteArrayOffset$3, $imul(2, len)); | |
| + $systemArraycopy(this.$$undbyteArray$3, ((this.$$undbyteArrayOffset$3 + (this.java$nio$Buffer$$$undposition$1 << 1)) | 0), this.$$undbyteArray$3, this.$$undbyteArrayOffset$3, (len << 1)); | |
| this.$$undmark$1 = (-1); | |
| this.limit__I__Ljava_nio_Buffer(this.$$undcapacity$1); | |
| this.position__I__Ljava_nio_Buffer(len); | |
| @@ -327151,9 +330654,9 @@ | |
| }); | |
| $c_scm_ArrayBuilder$ofBoolean.prototype.ensureSize__p2__I__V = (function(size) { | |
| if (((this.capacity$2 < size) || (this.capacity$2 === 0))) { | |
| - var newsize = ((this.capacity$2 === 0) ? 16 : $imul(2, this.capacity$2)); | |
| + var newsize = ((this.capacity$2 === 0) ? 16 : (this.capacity$2 << 1)); | |
| while ((newsize < size)) { | |
| - newsize = $imul(2, newsize) | |
| + newsize = (newsize << 1) | |
| }; | |
| this.resize__p2__I__V(newsize) | |
| } | |
| @@ -327282,9 +330785,9 @@ | |
| }); | |
| $c_scm_ArrayBuilder$ofByte.prototype.ensureSize__p2__I__V = (function(size) { | |
| if (((this.capacity$2 < size) || (this.capacity$2 === 0))) { | |
| - var newsize = ((this.capacity$2 === 0) ? 16 : $imul(2, this.capacity$2)); | |
| + var newsize = ((this.capacity$2 === 0) ? 16 : (this.capacity$2 << 1)); | |
| while ((newsize < size)) { | |
| - newsize = $imul(2, newsize) | |
| + newsize = (newsize << 1) | |
| }; | |
| this.resize__p2__I__V(newsize) | |
| } | |
| @@ -327413,9 +330916,9 @@ | |
| }); | |
| $c_scm_ArrayBuilder$ofChar.prototype.ensureSize__p2__I__V = (function(size) { | |
| if (((this.capacity$2 < size) || (this.capacity$2 === 0))) { | |
| - var newsize = ((this.capacity$2 === 0) ? 16 : $imul(2, this.capacity$2)); | |
| + var newsize = ((this.capacity$2 === 0) ? 16 : (this.capacity$2 << 1)); | |
| while ((newsize < size)) { | |
| - newsize = $imul(2, newsize) | |
| + newsize = (newsize << 1) | |
| }; | |
| this.resize__p2__I__V(newsize) | |
| } | |
| @@ -327544,9 +331047,9 @@ | |
| }); | |
| $c_scm_ArrayBuilder$ofDouble.prototype.ensureSize__p2__I__V = (function(size) { | |
| if (((this.capacity$2 < size) || (this.capacity$2 === 0))) { | |
| - var newsize = ((this.capacity$2 === 0) ? 16 : $imul(2, this.capacity$2)); | |
| + var newsize = ((this.capacity$2 === 0) ? 16 : (this.capacity$2 << 1)); | |
| while ((newsize < size)) { | |
| - newsize = $imul(2, newsize) | |
| + newsize = (newsize << 1) | |
| }; | |
| this.resize__p2__I__V(newsize) | |
| } | |
| @@ -327669,9 +331172,9 @@ | |
| }); | |
| $c_scm_ArrayBuilder$ofFloat.prototype.ensureSize__p2__I__V = (function(size) { | |
| if (((this.capacity$2 < size) || (this.capacity$2 === 0))) { | |
| - var newsize = ((this.capacity$2 === 0) ? 16 : $imul(2, this.capacity$2)); | |
| + var newsize = ((this.capacity$2 === 0) ? 16 : (this.capacity$2 << 1)); | |
| while ((newsize < size)) { | |
| - newsize = $imul(2, newsize) | |
| + newsize = (newsize << 1) | |
| }; | |
| this.resize__p2__I__V(newsize) | |
| } | |
| @@ -327794,9 +331297,9 @@ | |
| }); | |
| $c_scm_ArrayBuilder$ofInt.prototype.ensureSize__p2__I__V = (function(size) { | |
| if (((this.capacity$2 < size) || (this.capacity$2 === 0))) { | |
| - var newsize = ((this.capacity$2 === 0) ? 16 : $imul(2, this.capacity$2)); | |
| + var newsize = ((this.capacity$2 === 0) ? 16 : (this.capacity$2 << 1)); | |
| while ((newsize < size)) { | |
| - newsize = $imul(2, newsize) | |
| + newsize = (newsize << 1) | |
| }; | |
| this.resize__p2__I__V(newsize) | |
| } | |
| @@ -327919,9 +331422,9 @@ | |
| }); | |
| $c_scm_ArrayBuilder$ofLong.prototype.ensureSize__p2__I__V = (function(size) { | |
| if (((this.capacity$2 < size) || (this.capacity$2 === 0))) { | |
| - var newsize = ((this.capacity$2 === 0) ? 16 : $imul(2, this.capacity$2)); | |
| + var newsize = ((this.capacity$2 === 0) ? 16 : (this.capacity$2 << 1)); | |
| while ((newsize < size)) { | |
| - newsize = $imul(2, newsize) | |
| + newsize = (newsize << 1) | |
| }; | |
| this.resize__p2__I__V(newsize) | |
| } | |
| @@ -328039,9 +331542,9 @@ | |
| }); | |
| $c_scm_ArrayBuilder$ofRef.prototype.ensureSize__p2__I__V = (function(size) { | |
| if (((this.capacity$2 < size) || (this.capacity$2 === 0))) { | |
| - var newsize = ((this.capacity$2 === 0) ? 16 : $imul(2, this.capacity$2)); | |
| + var newsize = ((this.capacity$2 === 0) ? 16 : (this.capacity$2 << 1)); | |
| while ((newsize < size)) { | |
| - newsize = $imul(2, newsize) | |
| + newsize = (newsize << 1) | |
| }; | |
| this.resize__p2__I__V(newsize) | |
| } | |
| @@ -328171,9 +331674,9 @@ | |
| }); | |
| $c_scm_ArrayBuilder$ofShort.prototype.ensureSize__p2__I__V = (function(size) { | |
| if (((this.capacity$2 < size) || (this.capacity$2 === 0))) { | |
| - var newsize = ((this.capacity$2 === 0) ? 16 : $imul(2, this.capacity$2)); | |
| + var newsize = ((this.capacity$2 === 0) ? 16 : (this.capacity$2 << 1)); | |
| while ((newsize < size)) { | |
| - newsize = $imul(2, newsize) | |
| + newsize = (newsize << 1) | |
| }; | |
| this.resize__p2__I__V(newsize) | |
| } | |
| @@ -328296,9 +331799,9 @@ | |
| }); | |
| $c_scm_ArrayBuilder$ofUnit.prototype.ensureSize__p2__I__V = (function(size) { | |
| if (((this.capacity$2 < size) || (this.capacity$2 === 0))) { | |
| - var newsize = ((this.capacity$2 === 0) ? 16 : $imul(2, this.capacity$2)); | |
| + var newsize = ((this.capacity$2 === 0) ? 16 : (this.capacity$2 << 1)); | |
| while ((newsize < size)) { | |
| - newsize = $imul(2, newsize) | |
| + newsize = (newsize << 1) | |
| }; | |
| this.resize__p2__I__V(newsize) | |
| } | |
| @@ -328560,7 +332063,7 @@ | |
| return this | |
| }); | |
| $c_Lorg_scalajs_testsuite_library_ArrayOpsTest$$anonfun$1.prototype.applyOrElse__I__F1__O = (function(x1, $default) { | |
| - return ((x1 > 4) ? $imul(2, x1) : $default.apply__O__O(x1)) | |
| + return ((x1 > 4) ? (x1 << 1) : $default.apply__O__O(x1)) | |
| }); | |
| $c_Lorg_scalajs_testsuite_library_ArrayOpsTest$$anonfun$1.prototype.notify__ = (function() { | |
| return (void 0) | |
| @@ -328617,7 +332120,7 @@ | |
| return this | |
| }); | |
| $c_Lorg_scalajs_testsuite_library_WrappedArrayTest$$anonfun$1.prototype.applyOrElse__I__F1__O = (function(x1, $default) { | |
| - return ((x1 > 4) ? $imul(2, x1) : $default.apply__O__O(x1)) | |
| + return ((x1 > 4) ? (x1 << 1) : $default.apply__O__O(x1)) | |
| }); | |
| $c_Lorg_scalajs_testsuite_library_WrappedArrayTest$$anonfun$1.prototype.notify__ = (function() { | |
| return (void 0) | |
| @@ -341978,8 +345481,8 @@ | |
| }); | |
| $c_scm_PriorityQueue.prototype.fixDown__AO__I__I__V = (function(as, m, n) { | |
| var k = m; | |
| - while ((n >= $imul(2, k))) { | |
| - var j = $imul(2, k); | |
| + while ((n >= (k << 1))) { | |
| + var j = (k << 1); | |
| if ((j < n)) { | |
| var this$1 = this.ord$4; | |
| var x = as.u[j]; | |
| @@ -344506,7 +348009,7 @@ | |
| var jsx$1 = this.numRangeElements__p4__I(); | |
| var ha = a.$$div__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I__I(2, 0)); | |
| var hb = b.$$div__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I__I(2, 0)); | |
| - var ans = new $c_sjsr_RuntimeLong().init___I(jsx$1).$$times__sjsr_RuntimeLong__sjsr_RuntimeLong(ha.$$plus__sjsr_RuntimeLong__sjsr_RuntimeLong(hb).$$plus__sjsr_RuntimeLong__sjsr_RuntimeLong(a.$$minus__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I__I(2, 0).$$times__sjsr_RuntimeLong__sjsr_RuntimeLong(ha)).$$plus__sjsr_RuntimeLong__sjsr_RuntimeLong(b.$$minus__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I__I(2, 0).$$times__sjsr_RuntimeLong__sjsr_RuntimeLong(hb))).$$div__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I__I(2, 0)))) | |
| + var ans = new $c_sjsr_RuntimeLong().init___I(jsx$1).$$times__sjsr_RuntimeLong__sjsr_RuntimeLong(ha.$$plus__sjsr_RuntimeLong__sjsr_RuntimeLong(hb).$$plus__sjsr_RuntimeLong__sjsr_RuntimeLong(a.$$minus__sjsr_RuntimeLong__sjsr_RuntimeLong(ha.$$less$less__I__sjsr_RuntimeLong(1)).$$plus__sjsr_RuntimeLong__sjsr_RuntimeLong(b.$$minus__sjsr_RuntimeLong__sjsr_RuntimeLong(hb.$$less$less__I__sjsr_RuntimeLong(1))).$$div__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I__I(2, 0)))) | |
| }; | |
| return ans | |
| } else if (this.isEmpty__Z()) { | |
| @@ -354638,7 +358141,7 @@ | |
| if ((idx >= this.nwords__I())) { | |
| var newlen = this.nwords__I(); | |
| while ((idx >= newlen)) { | |
| - var x = $imul(2, newlen); | |
| + var x = (newlen << 1); | |
| newlen = ((x < 33554432) ? x : 33554432) | |
| }; | |
| var elems1 = $newArrayObject($d_J.getArrayOf(), [newlen]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment