diff options
Diffstat (limited to 'src/passes/Precompute.cpp')
-rw-r--r-- | src/passes/Precompute.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/Precompute.cpp b/src/passes/Precompute.cpp index db34b9ffb..9fb7ab31c 100644 --- a/src/passes/Precompute.cpp +++ b/src/passes/Precompute.cpp @@ -297,7 +297,7 @@ private: Literal curr; if (set == nullptr) { if (getFunction()->isVar(get->index)) { - curr = LiteralUtils::makeLiteralZero(getFunction()->getLocalType(get->index)); + curr = Literal::makeZero(getFunction()->getLocalType(get->index)); } else { // it's a param, so it's hopeless value = Literal(); |