Skip to content

Commit

Permalink
Merge #2966
Browse files Browse the repository at this point in the history
2966: Singlepass nopanic r=ptitSeb a=ptitSeb

# Description
Removed all panic from singlepass compiler, and implemented Result for error handling.
The compiler will now return a CompileError instead of a panic when an opcode is missing or more generalt when something goes wrong in the compiler.
This partly address ticket #2959 

Also, tested the compiler performances with the method expalined here: https://wasmer.io/posts/wasmer-2.2 and found no speed change (good job rustc compiler)

Co-authored-by: ptitSeb <[email protected]>
  • Loading branch information
bors[bot] and ptitSeb authored Jun 22, 2022
2 parents 1667998 + e4b0b71 commit 06a8833
Show file tree
Hide file tree
Showing 7 changed files with 7,811 additions and 5,005 deletions.
Loading

0 comments on commit 06a8833

Please sign in to comment.