start instruction evaluator

This commit is contained in:
Ilya Rezvov
2018-03-14 21:12:01 -07:00
parent 1b4a79655f
commit edbdeaec46
5 changed files with 82 additions and 26 deletions
+1 -1
View File
@@ -719,7 +719,7 @@ instance Serialize LocalTypeRange where
get = LocalTypeRange <$> getULEB128 <*> get
instance Serialize Function where
put Function {locals, body} = do
put Function {localTypes = locals, body} = do
let bs = runPut $ do
putVec $ map (LocalTypeRange 1) locals
putExpression body