diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-09-13 09:14:08 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-09-13 09:14:08 (GMT) |
| commit | acf652595c7df69adab683a5a9b29e3881cc42be (patch) | |
| tree | 6f33500607edbfbf7503b87c28639a671366be59 /src/virtualmachine/Syscalls.cpp | |
| parent | 771d5df5c9796bb5d6f6c4cae453b138dd17f192 (diff) | |
| download | powder-acf652595c7df69adab683a5a9b29e3881cc42be.zip powder-acf652595c7df69adab683a5a9b29e3881cc42be.tar.gz | |
Some progress on JIT - no syscalls yet
Diffstat (limited to 'src/virtualmachine/Syscalls.cpp')
| -rw-r--r-- | src/virtualmachine/Syscalls.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/virtualmachine/Syscalls.cpp b/src/virtualmachine/Syscalls.cpp index bc88fb2..b9f9211 100644 --- a/src/virtualmachine/Syscalls.cpp +++ b/src/virtualmachine/Syscalls.cpp @@ -61,7 +61,9 @@ namespace vm TRAPDEF(partCreate) { - Push<int4_t>(sim->create_part(ARG(0).int4, ARG(1).int4, ARG(2).int4, ARG(3).int4)); + //Push<int4_t>(sim->create_part(ARG(0).int4, ARG(1).int4, ARG(2).int4, ARG(3).int4)); + printf("create_part(%d, %d, %d, %d)\n", ARG(0).int4, ARG(1).int4, ARG(2).int4, ARG(3).int4); + Push<int4_t>(0); } TRAPDEF(partChangeType) |
