File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed
Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ import {
5555 SideEffects ,
5656 SwitchBuilder ,
5757 ExpressionRunnerFlags ,
58- isConstZero ,
5958 isConstNegZero ,
6059 isConstExpressionNaN ,
6160 ensureType ,
Original file line number Diff line number Diff line change @@ -3039,15 +3039,15 @@ export function getConstValueI64High(expr: ExpressionRef): i32 {
30393039}
30403040
30413041export function getConstValueInteger ( expr : ExpressionRef , isWasm64 : bool ) : i64 {
3042- let lo : i32 = 0 ;
3043- let hi : i32 = 0 ;
3044- if ( isWasm64 ) {
3045- lo = getConstValueI64Low ( expr ) ;
3046- hi = getConstValueI64High ( expr ) ;
3047- } else {
3048- lo = getConstValueI32 ( expr ) ;
3049- }
3050- return i64_new ( lo , hi ) ;
3042+ let lo : i32 = 0 ;
3043+ let hi : i32 = 0 ;
3044+ if ( isWasm64 ) {
3045+ lo = getConstValueI64Low ( expr ) ;
3046+ hi = getConstValueI64High ( expr ) ;
3047+ } else {
3048+ lo = getConstValueI32 ( expr ) ;
3049+ }
3050+ return i64_new ( lo , hi ) ;
30513051}
30523052
30533053export function getConstValueF32 ( expr : ExpressionRef ) : f32 {
You can’t perform that action at this time.
0 commit comments