aboutsummaryrefslogtreecommitdiffstats
path: root/vm/vm_jit_fake.go
diff options
context:
space:
mode:
authorPaweł Bylica <pawel.bylica@imapp.pl>2015-01-23 01:00:15 +0800
committerPaweł Bylica <pawel.bylica@imapp.pl>2015-01-23 01:00:15 +0800
commitd5f38f5690caeb30794e62d4a1b2683a6107cfbc (patch)
tree03c397df8619584de7236e09034f33b1b3687c17 /vm/vm_jit_fake.go
parent4df2e1ef5c20ebd7004a595de7e6a032699106ad (diff)
downloaddexon-d5f38f5690caeb30794e62d4a1b2683a6107cfbc.tar.gz
dexon-d5f38f5690caeb30794e62d4a1b2683a6107cfbc.tar.zst
dexon-d5f38f5690caeb30794e62d4a1b2683a6107cfbc.zip
JitVM: the EVM JIT bridge
Diffstat (limited to 'vm/vm_jit_fake.go')
-rw-r--r--vm/vm_jit_fake.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/vm/vm_jit_fake.go b/vm/vm_jit_fake.go
new file mode 100644
index 000000000..d6b5be45b
--- /dev/null
+++ b/vm/vm_jit_fake.go
@@ -0,0 +1,10 @@
+// +build !evmjit
+
+package vm
+
+import "fmt"
+
+func NewJitVm(env Environment) VirtualMachine {
+ fmt.Printf("Warning! EVM JIT not enabled.\n")
+ return New(env)
+}