You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 846f34f
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: cmd/utils/flags.go
+27-4Lines changed: 27 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ import (
27
27
"runtime"
28
28
"strconv"
29
29
30
+
"github.com/ethereum/go-ethereum/core/vm"
30
31
"github.com/ethereum/go-ethereum/metrics"
31
32
32
33
"github.com/codegangsta/cli"
@@ -172,6 +173,25 @@ var (
172
173
Value: "",
173
174
}
174
175
176
+
// vm flags
177
+
VMDebugFlag= cli.BoolFlag{
178
+
Name: "vmdebug",
179
+
Usage: "Virtual Machine debug output",
180
+
}
181
+
VMForceJitFlag= cli.BoolFlag{
182
+
Name: "forcejit",
183
+
Usage: "Force the JIT VM to take precedence",
184
+
}
185
+
VMJitCacheFlag= cli.IntFlag{
186
+
Name: "jitcache",
187
+
Usage: "Amount of cached JIT VM programs",
188
+
Value: 64,
189
+
}
190
+
VMEnableJitFlag= cli.BoolFlag{
191
+
Name: "jitvm",
192
+
Usage: "Enable the JIT VM",
193
+
}
194
+
175
195
// logging and debug settings
176
196
LogFileFlag= cli.StringFlag{
177
197
Name: "logfile",
@@ -196,10 +216,6 @@ var (
196
216
Usage: "The syntax of the argument is a comma-separated list of pattern=N, where pattern is a literal file name (minus the \".go\" suffix) or \"glob\" pattern and N is a log verbosity level.",
197
217
Value: glog.GetVModule(),
198
218
}
199
-
VMDebugFlag= cli.BoolFlag{
200
-
Name: "vmdebug",
201
-
Usage: "Virtual Machine debug output",
202
-
}
203
219
BacktraceAtFlag= cli.GenericFlag{
204
220
Name: "backtrace_at",
205
221
Usage: "If set to a file and line number (e.g., \"block.go:271\") holding a logging statement, a stack trace will be logged",
0 commit comments