diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-08-08 21:36:26 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-08-08 21:36:26 +0800 |
commit | c93f0b9f4ba84933110435a80055cdaabd078159 (patch) | |
tree | c51e0d5704aa08595ebdd7e03b61309fe69fe848 /core/vm/settings.go | |
parent | 312128384b1c32306123f8ad3be1be32bbd8235c (diff) | |
parent | ac697326a6045eaa760b159e4bda37c57be61cbf (diff) | |
download | go-tangerine-c93f0b9f4ba84933110435a80055cdaabd078159.tar go-tangerine-c93f0b9f4ba84933110435a80055cdaabd078159.tar.gz go-tangerine-c93f0b9f4ba84933110435a80055cdaabd078159.tar.bz2 go-tangerine-c93f0b9f4ba84933110435a80055cdaabd078159.tar.lz go-tangerine-c93f0b9f4ba84933110435a80055cdaabd078159.tar.xz go-tangerine-c93f0b9f4ba84933110435a80055cdaabd078159.tar.zst go-tangerine-c93f0b9f4ba84933110435a80055cdaabd078159.zip |
Merge pull request #1490 from obscuren/jit-vm
core/vm: jit vm
Diffstat (limited to 'core/vm/settings.go')
-rw-r--r-- | core/vm/settings.go | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/core/vm/settings.go b/core/vm/settings.go new file mode 100644 index 000000000..b94efd9ab --- /dev/null +++ b/core/vm/settings.go @@ -0,0 +1,25 @@ +// Copyright 2014 The go-ethereum Authors +// This file is part of the go-ethereum library. +// +// The go-ethereum library is free software: you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// The go-ethereum library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. + +package vm + +var ( + DisableJit bool // Disable the JIT VM + ForceJit bool // Force the JIT, skip byte VM + MaxProgSize int // Max cache size for JIT Programs +) + +const defaultJitMaxCache int = 64 |