aboutsummaryrefslogtreecommitdiffstats
path: root/vm/vm_jit_fake.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-01-29 04:50:10 +0800
committerobscuren <geffobscura@gmail.com>2015-01-29 04:50:10 +0800
commitfd5d061d49ae32db3ebf8b8e6a14380742701661 (patch)
tree6b991781e4b5c7ebae726195f6b99b0edb807da0 /vm/vm_jit_fake.go
parent5e891ea981aabc1435c54decc1572788d3358954 (diff)
parent1337a8dfb11160d67db410b71af92a02d6b232f5 (diff)
downloaddexon-fd5d061d49ae32db3ebf8b8e6a14380742701661.tar
dexon-fd5d061d49ae32db3ebf8b8e6a14380742701661.tar.gz
dexon-fd5d061d49ae32db3ebf8b8e6a14380742701661.tar.bz2
dexon-fd5d061d49ae32db3ebf8b8e6a14380742701661.tar.lz
dexon-fd5d061d49ae32db3ebf8b8e6a14380742701661.tar.xz
dexon-fd5d061d49ae32db3ebf8b8e6a14380742701661.tar.zst
dexon-fd5d061d49ae32db3ebf8b8e6a14380742701661.zip
Merge branch 'develop' into Gustav-Simonsson-key_store_and_accounts_integration
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)
+}