mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
cmd/utils: remove jitvm flags
This commit is contained in:
parent
041a001dc0
commit
766ce7abca
3 changed files with 0 additions and 22 deletions
|
|
@ -133,9 +133,6 @@ func init() {
|
||||||
utils.WhisperEnabledFlag,
|
utils.WhisperEnabledFlag,
|
||||||
utils.DevModeFlag,
|
utils.DevModeFlag,
|
||||||
utils.TestNetFlag,
|
utils.TestNetFlag,
|
||||||
utils.VMForceJitFlag,
|
|
||||||
utils.VMJitCacheFlag,
|
|
||||||
utils.VMEnableJitFlag,
|
|
||||||
utils.VMEnableDebugFlag,
|
utils.VMEnableDebugFlag,
|
||||||
utils.NetworkIdFlag,
|
utils.NetworkIdFlag,
|
||||||
utils.RPCCORSDomainFlag,
|
utils.RPCCORSDomainFlag,
|
||||||
|
|
|
||||||
|
|
@ -158,9 +158,6 @@ var AppHelpFlagGroups = []flagGroup{
|
||||||
{
|
{
|
||||||
Name: "VIRTUAL MACHINE",
|
Name: "VIRTUAL MACHINE",
|
||||||
Flags: []cli.Flag{
|
Flags: []cli.Flag{
|
||||||
utils.VMEnableJitFlag,
|
|
||||||
utils.VMForceJitFlag,
|
|
||||||
utils.VMJitCacheFlag,
|
|
||||||
utils.VMEnableDebugFlag,
|
utils.VMEnableDebugFlag,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -240,19 +240,6 @@ var (
|
||||||
Value: "",
|
Value: "",
|
||||||
}
|
}
|
||||||
|
|
||||||
VMForceJitFlag = cli.BoolFlag{
|
|
||||||
Name: "forcejit",
|
|
||||||
Usage: "Force the JIT VM to take precedence",
|
|
||||||
}
|
|
||||||
VMJitCacheFlag = cli.IntFlag{
|
|
||||||
Name: "jitcache",
|
|
||||||
Usage: "Amount of cached JIT VM programs",
|
|
||||||
Value: 64,
|
|
||||||
}
|
|
||||||
VMEnableJitFlag = cli.BoolFlag{
|
|
||||||
Name: "jitvm",
|
|
||||||
Usage: "Enable the JIT VM",
|
|
||||||
}
|
|
||||||
VMEnableDebugFlag = cli.BoolFlag{
|
VMEnableDebugFlag = cli.BoolFlag{
|
||||||
Name: "vmdebug",
|
Name: "vmdebug",
|
||||||
Usage: "Record information useful for VM and contract debugging",
|
Usage: "Record information useful for VM and contract debugging",
|
||||||
|
|
@ -469,9 +456,6 @@ func setNodeUserIdent(ctx *cli.Context, cfg *node.Config) {
|
||||||
if identity := ctx.GlobalString(IdentityFlag.Name); len(identity) > 0 {
|
if identity := ctx.GlobalString(IdentityFlag.Name); len(identity) > 0 {
|
||||||
comps = append(comps, identity)
|
comps = append(comps, identity)
|
||||||
}
|
}
|
||||||
if ctx.GlobalBool(VMEnableJitFlag.Name) {
|
|
||||||
comps = append(comps, "JIT")
|
|
||||||
}
|
|
||||||
cfg.UserIdent = strings.Join(comps, "/")
|
cfg.UserIdent = strings.Join(comps, "/")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue