Skip to content

Commit 3d5f40c

Browse files
steve-smsimacek
authored andcommitted
Fix benchmarks bytecode DSL safeguard
1 parent 15c6115 commit 3d5f40c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mx.graalpython/mx_graalpython_benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ def run(self, cwd, args):
415415
return self._validate_output(*host_vm.run(cwd, cmd))
416416

417417
def is_bytecode_dsl_config(self):
418-
return self._extra_vm_args and '--vm.Dpython.EnableBytecodeDSLInterpreter=true' in self._extra_vm_args
418+
return bool(self._extra_vm_args and '--vm.Dpython.EnableBytecodeDSLInterpreter=true' in self._extra_vm_args)
419419

420420
def _validate_output(self, code, out, dims):
421421
is_bytecode_dsl_config = self.is_bytecode_dsl_config()

0 commit comments

Comments
 (0)