[space-maps/recursive] fix bug in flush_ops()
Decrements weren't being passed down properly.
This commit is contained in:
parent
50f8e792d3
commit
371d1bbd6e
@ -216,7 +216,10 @@ namespace {
|
||||
|
||||
switch (op.op_) {
|
||||
case INC:
|
||||
sm_->inc(b, op.rc_);
|
||||
if (op.rc_ > 0)
|
||||
sm_->inc(b, op.rc_);
|
||||
else if (op.rc_ < 0)
|
||||
sm_->dec(b, -op.rc_);
|
||||
break;
|
||||
|
||||
case SET:
|
||||
|
Loading…
Reference in New Issue
Block a user