aboutsummaryrefslogtreecommitdiffstats
path: root/vm/vm_jit_fake.go
diff options
context:
space:
mode:
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)
+}