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
|
||||
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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue