summaryrefslogtreecommitdiff
path: root/src/ir/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir/utils.h')
-rw-r--r--src/ir/utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ir/utils.h b/src/ir/utils.h
index a06598095..a7f6f59bf 100644
--- a/src/ir/utils.h
+++ b/src/ir/utils.h
@@ -335,7 +335,7 @@ struct I64Utilities {
builder.makeUnary(ExtendUInt32, low),
builder.makeBinary(ShlInt64,
builder.makeUnary(ExtendUInt32, high),
- builder.makeConst(Literal(int64_t(32)))));
+ builder.makeConst(int64_t(32))));
};
static Expression* recreateI64(Builder& builder, Index low, Index high) {
@@ -349,7 +349,7 @@ struct I64Utilities {
WrapInt64,
builder.makeBinary(ShrUInt64,
builder.makeLocalGet(index, Type::i64),
- builder.makeConst(Literal(int64_t(32)))));
+ builder.makeConst(int64_t(32))));
}
static Expression* getI64Low(Builder& builder, Index index) {