summaryrefslogtreecommitdiff
path: root/src/passes/LogExecution.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/LogExecution.cpp')
-rw-r--r--src/passes/LogExecution.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/passes/LogExecution.cpp b/src/passes/LogExecution.cpp
index a6caf1c1f..ebc1c5636 100644
--- a/src/passes/LogExecution.cpp
+++ b/src/passes/LogExecution.cpp
@@ -71,8 +71,7 @@ private:
static Index id = 0;
Builder builder(*getModule());
return builder.makeSequence(
- builder.makeCall(
- LOGGER, {builder.makeConst(Literal(int32_t(id++)))}, Type::none),
+ builder.makeCall(LOGGER, {builder.makeConst(int32_t(id++))}, Type::none),
curr);
}
};