Add IR_PVAL instruction for non-slot parent links.

This commit is contained in:
Mike Pall
2012-07-02 22:47:20 +02:00
parent 5d0115ef8d
commit 0688de5483
3 changed files with 4 additions and 1 deletions

View File

@@ -339,6 +339,8 @@ IRIns *lj_snap_regspmap(GCtrace *T, SnapNo snapno, IRIns *ir)
}
} else if (LJ_SOFTFP && ir->o == IR_HIOP) {
ref++;
} else if (ir->o == IR_PVAL) {
ref = ir->op1 + REF_BIAS;
} else {
break;
}