@@ -364,9 +364,7 @@ function makeSetTempDouble(i, type, value) {
364364}
365365
366366// See makeSetValue
367- function makeGetValue ( ptr , pos , type , noNeedFirst , unsigned , ignore , align , noSafe , forceAsm ) {
368- assert ( ! forceAsm , 'forceAsm is no longer supported' ) ;
369-
367+ function makeGetValue ( ptr , pos , type , noNeedFirst , unsigned , ignore , align , noSafe ) {
370368 if ( type == 'double' && ( align < 8 ) ) {
371369 const setdouble1 = makeSetTempDouble ( 0 , 'i32' , makeGetValue ( ptr , pos , 'i32' , noNeedFirst , unsigned , ignore , align , noSafe ) ) ;
372370 const setdouble2 = makeSetTempDouble ( 1 , 'i32' , makeGetValue ( ptr , getFastValue ( pos , '+' , Runtime . getNativeTypeSize ( 'i32' ) ) , 'i32' , noNeedFirst , unsigned , ignore , align , noSafe ) ) ;
@@ -415,9 +413,6 @@ function makeGetValue(ptr, pos, type, noNeedFirst, unsigned, ignore, align, noSa
415413 if ( slab . substr ( slab . length - 2 ) == '64' ) {
416414 ret = `Number(${ ret } )` ;
417415 }
418- if ( forceAsm ) {
419- ret = asmCoercion ( ret , type ) ;
420- }
421416 return ret ;
422417}
423418
@@ -436,12 +431,9 @@ function makeGetValue(ptr, pos, type, noNeedFirst, unsigned, ignore, align, noSa
436431 * @param {number } align: TODO
437432 * @param {bool } noSafe: TODO
438433 * @param {string } sep: TODO
439- * @param {bool } forcedAlign: legacy, ignored.
440434 * @return {TODO }
441435 */
442- function makeSetValue ( ptr , pos , value , type , noNeedFirst , ignore , align , noSafe , sep = ';' , forcedAlign ) {
443- assert ( ! forcedAlign , 'forcedAlign is no longer supported' ) ;
444-
436+ function makeSetValue ( ptr , pos , value , type , noNeedFirst , ignore , align , noSafe , sep = ';' ) {
445437 if ( type == 'double' && ( align < 8 ) ) {
446438 return '(' + makeSetTempDouble ( 0 , 'double' , value ) + ',' +
447439 makeSetValue ( ptr , pos , makeGetTempDouble ( 0 , 'i32' ) , 'i32' , noNeedFirst , ignore , align , noSafe , ',' ) + ',' +
0 commit comments