Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4fb803f

Browse files
fix
1 parent 6165368 commit 4fb803f

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

‎src/compiler.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ import {
5555
SideEffects,
5656
SwitchBuilder,
5757
ExpressionRunnerFlags,
58-
isConstZero,
5958
isConstNegZero,
6059
isConstExpressionNaN,
6160
ensureType,

‎src/module.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3039,15 +3039,15 @@ export function getConstValueI64High(expr: ExpressionRef): i32 {
30393039
}
30403040

30413041
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);
30513051
}
30523052

30533053
export function getConstValueF32(expr: ExpressionRef): f32 {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /