Skip to content

Commit

Permalink
kernel: add missing IntrReturning check to IntrNot
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Jun 6, 2018
1 parent 42789e6 commit e97d6b4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/intrprtr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1375,8 +1375,9 @@ void IntrNot ( void )
Obj op; /* operand */

/* ignore or code */
if ( STATE(IntrIgnoring) > 0 ) { return; }
if ( STATE(IntrCoding) > 0 ) { CodeNot(); return; }
if ( STATE(IntrReturning) > 0 ) { return; }
if ( STATE(IntrIgnoring) > 0 ) { return; }
if ( STATE(IntrCoding) > 0 ) { CodeNot(); return; }


/* get and check the operand */
Expand Down

0 comments on commit e97d6b4

Please sign in to comment.