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:
minjaesong
2017-05-07 18:39:26 +09:00
parent 14dfb5c963
commit 959873413d
8 changed files with 53 additions and 52 deletions

View File

@@ -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