Commit b1d474d9 authored by Guy Watson's avatar Guy Watson
Browse files

Properly print literals

parent 59c62fa8
......@@ -408,10 +408,10 @@
[Func (λ (n) `(func (export "_func") (result i32)
(local ,@(make-list (ast-child 'localcount n) 'i32))
,@($xsmith_render-node (ast-child 'root n))))]
[LiteralIntThirtyTwo (λ (n) (list 'FIXMEEEE (ast-child 'v n)))] ;; todo fix
[LiteralIntSixtyFour (λ (n) (list 'FIXMEEEE (ast-child 'v n)))] ;; todo fix
[LiteralFloatThirtyTwo (λ (n) (list 'FIXMEEEE (ast-child 'v n)))] ;; todo fix
[LiteralFloatSixtyFour (λ (n) (list 'FIXMEEEE (ast-child 'v n)))] ;; todo fix
[LiteralIntThirtyTwo (λ (n) (list 'i32.const (ast-child 'v n)))]
[LiteralIntSixtyFour (λ (n) (list 'i64.const (ast-child 'v n)))]
[LiteralFloatThirtyTwo (λ (n) (list 'f32.const (ast-child 'v n)))]
[LiteralFloatSixtyFour (λ (n) (list 'f64.const (ast-child 'v n)))]
[Noop (λ (n) (append
'(nop)
($xsmith_render-node (ast-child 'expr n))))]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment