mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
core/vm: Add support for AoT compilation of WASM precompiles
This commit is contained in:
parent
cc5bed4b21
commit
58aa55e2ea
2 changed files with 4 additions and 4 deletions
|
|
@ -69,10 +69,10 @@ func GrowMemory(size int32) {
|
||||||
|
|
||||||
// AoTContract
|
// AoTContract
|
||||||
type AoTContract struct {
|
type AoTContract struct {
|
||||||
Code []byte
|
Code []byte
|
||||||
Num int
|
Num int
|
||||||
ImportVector []byte
|
ImportVector []byte
|
||||||
ImportFuncs map[string]importFunc
|
ImportFuncs map[string]importFunc
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewAoTContract(code []byte, num int) *AoTContract {
|
func NewAoTContract(code []byte, num int) *AoTContract {
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue