go-interpreter / wagon

wagon, a WebAssembly-based Go interpreter, for Go.
BSD 3-Clause "New" or "Revised" License
904 stars 148 forks source link

3/4 - Implement native compilation - Implement amd64 backend. #113

Closed twitchyliquid64 closed 5 years ago

twitchyliquid64 commented 5 years ago

Please review/merge the earlier PRs in this series first - this builds on that.

This PR implements the memory allocator & a very basic amd64 backend.

codecov-io commented 5 years ago

Codecov Report

Merging #113 into master will decrease coverage by 3.18%. The diff coverage is 77.48%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #113      +/-   ##
==========================================
- Coverage   67.76%   64.58%   -3.19%     
==========================================
  Files          34       40       +6     
  Lines        3425     3871     +446     
==========================================
+ Hits         2321     2500     +179     
- Misses        844     1109     +265     
- Partials      260      262       +2
Impacted Files Coverage Δ
exec/internal/compile/native.go 0% <0%> (ø)
exec/internal/compile/scanner.go 0% <0%> (ø)
exec/internal/compile/native_exec.go 100% <100%> (ø)
exec/internal/compile/backend_amd64.go 79.5% <79.5%> (ø)
exec/internal/compile/allocator.go 81.81% <81.81%> (ø)
exec/internal/compile/compile.go 0% <0%> (ø)
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ca24328...9e700fd. Read the comment docs.

twitchyliquid64 commented 5 years ago

:grin: :tada: