summaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2024-12-04 16:11:06 +0100
committerEugen Wissner <belka@caraus.de>2024-12-06 15:37:36 +0100
commit1c996b3c8bb290d17e4d0dcdf809c8458866bb12 (patch)
treeef2df0ad302755e5bf30b8d0237685e7eb46d164 /src/Main.hs
parent0c40bca60b343bb289f0a567ec9ec9e9382bad2a (diff)
downloadelna-1c996b3c8bb290d17e4d0dcdf809c8458866bb12.tar.gz
Make IR for array access
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 0d1387f..164f8e1 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -48,7 +48,7 @@ main = execParser commandLine >>= withCommandLine
| otherwise =
let makeObject = elfObject output . riscv32Elf . generateRiscV
in either (printAndExit 6) makeObject
- $ allocate riscVConfiguration
+ $ allocate riscVConfiguration symbolTable
$ glue symbolTable program
printAndExit :: Show b => forall a. Int -> b -> IO a
printAndExit failureCode e = print e >> exitWith (ExitFailure failureCode)