Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2feccf8

Browse filesBrowse files
committed
Do extra work
1 parent 6d7d7d6 commit 2feccf8
Copy full SHA for 2feccf8

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎vm/vm.go

Copy file name to clipboardExpand all lines: vm/vm.go
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func (vm *VM) Run(program *Program, env any) (_ any, err error) {
8383
vm.ip = 0
8484

8585
for vm.ip < len(program.Bytecode) {
86-
if debug && vm.debug {
86+
if vm.debug {
8787
<-vm.step
8888
}
8989

@@ -566,7 +566,7 @@ func (vm *VM) Run(program *Program, env any) (_ any, err error) {
566566
panic(fmt.Sprintf("unknown bytecode %#x", op))
567567
}
568568

569-
if debug && vm.debug {
569+
if vm.debug {
570570
vm.curr <- vm.ip
571571
}
572572
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.