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 {
55
55
SideEffects ,
56
56
SwitchBuilder ,
57
57
ExpressionRunnerFlags ,
58
- isConstZero ,
59
58
isConstNegZero ,
60
59
isConstExpressionNaN ,
61
60
ensureType ,
Original file line number Diff line number Diff line change @@ -3039,15 +3039,15 @@ export function getConstValueI64High(expr: ExpressionRef): i32 {
3039
3039
}
3040
3040
3041
3041
export 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 ) ;
3051
3051
}
3052
3052
3053
3053
export function getConstValueF32 ( expr : ExpressionRef ) : f32 {
You can’t perform that action at this time.
0 commit comments