mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-08 04:41:51 +09:00
fucked up while making ActorValue delegated – not applicable; can't have default value
making commits for files to keep so that I can discard changes
This commit is contained in:
@@ -241,9 +241,9 @@ class BFVM(
|
||||
|
||||
if (r1 in bfOpcodes) {
|
||||
if (optimizeLevel >= 1) {
|
||||
// [-]
|
||||
// [-] or [+]
|
||||
if (r1 == JPZ) {
|
||||
if (program[pc + 1] == DEC && program[pc + 2] == JPN) {
|
||||
if ((program[pc + 1] == DEC || program[pc + 1] == INC) && program[pc + 2] == JPN) {
|
||||
pc += 3
|
||||
putOp(LDZ)
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user