Skip to content

Commit

Permalink
platform: Add windows platform.
Browse files Browse the repository at this point in the history
  • Loading branch information
losfair committed Jan 24, 2019
1 parent b1f9b96 commit 5b02e2a
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions platform/aot_windows.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
package platform

import (
"github.com/perlin-network/life/exec"
)

type AOTContext struct {
}

func (c *AOTContext) UnsafeInvokeFunction_0(vm *exec.VirtualMachine, name string) uint64 {
return 0
}

func (c *AOTContext) UnsafeInvokeFunction_1(vm *exec.VirtualMachine, name string, p0 uint64) uint64 {
return 0
}

func (c *AOTContext) UnsafeInvokeFunction_2(vm *exec.VirtualMachine, name string, p0, p1 uint64) uint64 {
return 0
}

func FullAOTCompile(vm *exec.VirtualMachine) *AOTContext {
return nil
}

0 comments on commit 5b02e2a

Please sign in to comment.