core/vm: Add support for AoT compilation of WASM precompiles

This commit is contained in:
Guillaume Ballet 2019-03-13 11:56:49 +01:00
parent cc5bed4b21
commit 58aa55e2ea
2 changed files with 4 additions and 4 deletions

View file

@ -69,10 +69,10 @@ func GrowMemory(size int32) {
// AoTContract
type AoTContract struct {
Code []byte
Num int
Code []byte
Num int
ImportVector []byte
ImportFuncs map[string]importFunc
ImportFuncs map[string]importFunc
}
func NewAoTContract(code []byte, num int) *AoTContract {