#470: [BUG] branch_cs opcode is buggy and unused
--------------------+-------------------------------------------------------
 Reporter:  cotto   |       Owner:  whiteknight
     Type:  todo    |      Status:  assigned   
 Priority:  normal  |   Milestone:             
Component:  core    |     Version:             
 Severity:  medium  |    Keywords:  ops        
     Lang:          |       Patch:             
 Platform:          |  
--------------------+-------------------------------------------------------
Changes (by coke):

  * type:  RFC => todo


Comment:

 from src/runcore/main.c:

 {{{
  /* if we have fallen out with resume and we were running CGOTO, set
          * the stacktop again to a sane value, so that restarting the
 runloop
          * is ok. */
         if (interp->resume_flag & RESUME_RESTART) {
             if ((int)interp->resume_offset < 0)
                 Parrot_ex_throw_from_c_args(interp, NULL, 1,
                     "branch_cs: illegal resume offset");
             stop_prederef(interp);
         }
 }}}

 branch_ch is just a string here, but does this mean this whole conditional
 can be removed? If not, can someone suggest a better error message?

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/470#comment:4>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to