cmd/evm, core/vm, tests: changed DisableVm to EnableVm
This commit is contained in:
@ -71,8 +71,8 @@ func BenchStateTest(p string, conf bconf, b *testing.B) error {
|
||||
return fmt.Errorf("test not found: %s", conf.name)
|
||||
}
|
||||
|
||||
pNoJit := vm.DisableJit
|
||||
vm.DisableJit = conf.nojit
|
||||
pJit := vm.EnableJit
|
||||
vm.EnableJit = conf.jit
|
||||
pForceJit := vm.ForceJit
|
||||
vm.ForceJit = conf.precomp
|
||||
|
||||
@ -94,7 +94,7 @@ func BenchStateTest(p string, conf bconf, b *testing.B) error {
|
||||
benchStateTest(test, env, b)
|
||||
}
|
||||
|
||||
vm.DisableJit = pNoJit
|
||||
vm.EnableJit = pJit
|
||||
vm.ForceJit = pForceJit
|
||||
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user