Generate a call to _divide_by_zero_error on RiscV
This commit is contained in:
@@ -267,6 +267,6 @@ expression localTable = \case
|
||||
)
|
||||
|
||||
literal :: AST.Literal -> Operand Variable
|
||||
literal (AST.IntegerLiteral integer) = IntOperand integer
|
||||
literal (AST.DecimalLiteral integer) = IntOperand integer
|
||||
literal (AST.HexadecimalLiteral integer) = IntOperand integer
|
||||
literal (AST.CharacterLiteral character) = IntOperand $ fromIntegral character
|
||||
|
||||
Reference in New Issue
Block a user