mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-06 09:20:40 -08:00
Given that reg0 contains always VALUES(0), we can simplify OP_JT and OP_JNIL.
This commit is contained in:
parent
aa6b20fad1
commit
64ca376393
1 changed files with 2 additions and 2 deletions
|
|
@ -807,14 +807,14 @@ ecl_interpret(cl_object env, cl_object bytecodes, void *pc)
|
|||
CASE(OP_JNIL); {
|
||||
cl_oparg jump = GET_OPARG(vector);
|
||||
NVALUES = 1;
|
||||
if (Null(VALUES(0)))
|
||||
if (Null(reg0))
|
||||
vector += jump - OPARG_SIZE;
|
||||
THREAD_NEXT;
|
||||
}
|
||||
CASE(OP_JT); {
|
||||
cl_oparg jump = GET_OPARG(vector);
|
||||
NVALUES = 1;
|
||||
if (!Null(VALUES(0)))
|
||||
if (!Null(reg0))
|
||||
vector += jump - OPARG_SIZE;
|
||||
THREAD_NEXT;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue