vm: Null pointer test when checking for StopIteration optimizations.
vm: Null pointer test when checking for StopIteration optimizations.

When generator raises exception, it is automatically terminated (by setting
its code_state.ip to 0), which interferes with this check.

Triggered in particular by CPython's test_pep380.py.

vriera/micropython,PappaPeppar/micropython,emfcamp/micropython,Peetz0r/micropython-esp32,heisewangluo/micropython,tuc-osg/micropython,mianos/micropython,dhylands/micropython,dinau/micropython,omtinez/micropython,kostyll/micropython,praemdonck/micropython,swegener/micropython,utopiaprince/micropython,noahchense/micropython,adafruit/circuitpython,oopy/micropython,feilongfl/micropython,redbear/micropython,MrSurly/micropython-esp32,heisewangluo/micropython,omtinez/micropython,puuu/micropython,jmarcelino/pycom-micropython,cnoviello/micropython,mianos/micropython,oopy/micropython,ericsnowcurrently/micropython,MrSurly/micropython-esp32,tuc-osg/micropython,jlillest/micropython,MrSurly/micropython-esp32,toolmacher/micropython,turbinenreiter/micropython,pozetroninc/micropython,omtinez/micropython,blmorris/micropython,lbattraw/micropython,galenhz/micropython,supergis/micropython,bvernoux/micropython,dhylands/micropython,alex-march/micropython,chrisdearman/micropython,kerneltask/micropython,martinribelotta/micropython,stonegithubs/micropython,swegener/micropython,emfcamp/micropython,tobbad/micropython,SHA2017-badge/micropython-esp32,PappaPeppar/micropython,toolmacher/micropython,jimkmc/micropython,firstval/micropython,kostyll/micropython,rubencabrera/micropython,mgyenik/micropython,misterdanb/micropython,ryannathans/micropython,adamkh/micropython,adafruit/circuitpython,danicampora/micropython,pfalcon/micropython,skybird6672/micropython,dhylands/micropython,heisewangluo/micropython,hiway/micropython,chrisdearman/micropython,dinau/micropython,ruffy91/micropython,vitiral/micropython,dmazzella/micropython,selste/micropython,torwag/micropython,kerneltask/micropython,tdautc19841202/micropython,ceramos/micropython,adafruit/circuitpython,adafruit/micropython,blazewicz/micropython,xyb/micropython,Peetz0r/micropython-esp32,mhoffma/micropython,jmarcelino/pycom-micropython,cloudformdesign/micropython,selste/micropython,alex-robbins/micropython,puuu/micropython,ruffy91/micropython,noahchense/micropython,tobbad/micropython,mpalomer/micropython,chrisdearman/micropython,cwyark/micropython,matthewelse/micropython,ahotam/micropython,pramasoul/micropython,redbear/micropython,torwag/micropython,hiway/micropython,praemdonck/micropython,alex-robbins/micropython,skybird6672/micropython,ryannathans/micropython,infinnovation/micropython,galenhz/micropython,trezor/micropython,tdautc19841202/micropython,selste/micropython,adafruit/micropython,henriknelson/micropython,henriknelson/micropython,henriknelson/micropython,pozetroninc/micropython,ChuckM/micropython,EcmaXp/micropython,ganshun666/micropython,adamkh/micropython,PappaPeppar/micropython,ahotam/micropython,hosaka/micropython,slzatz/micropython,feilongfl/micropython,mpalomer/micropython,feilongfl/micropython,torwag/micropython,vriera/micropython,Timmenem/micropython,micropython/micropython-esp32,torwag/micropython,EcmaXp/micropython,dinau/micropython,vitiral/micropython,suda/micropython,noahwilliamsson/micropython,ceramos/micropython,jimkmc/micropython,slzatz/micropython,xuxiaoxin/micropython,micropython/micropython-esp32,MrSurly/micropython,jimkmc/micropython,rubencabrera/micropython,Timmenem/micropython,adafruit/micropython,lbattraw/micropython,ericsnowcurrently/micropython,lowRISC/micropython,skybird6672/micropython,ceramos/micropython,swegener/micropython,lbattraw/micropython,henriknelson/micropython,jlillest/micropython,ernesto-g/micropython,kostyll/micropython,tobbad/micropython,cwyark/micropython,ChuckM/micropython,jlillest/micropython,vriera/micropython,ruffy91/micropython,rubencabrera/micropython,emfcamp/micropython,MrSurly/micropython,dinau/micropython,drrk/micropython,HenrikSolver/micropython,SHA2017-badge/micropython-esp32,toolmacher/micropython,alex-robbins/micropython,jmarcelino/pycom-micropython,MrSurly/micropython-esp32,ChuckM/micropython,galenhz/micropython,tdautc19841202/micropython,xuxiaoxin/micropython,ericsnowcurrently/micropython,tdautc19841202/micropython,xyb/micropython,skybird6672/micropython,ceramos/micropython,galenhz/micropython,slzatz/micropython,feilongfl/micropython,ganshun666/micropython,cnoviello/micropython,lowRISC/micropython,SHA2017-badge/micropython-esp32,redbear/micropython,pramasoul/micropython,Peetz0r/micropython-esp32,cloudformdesign/micropython,mianos/micropython,tralamazza/micropython,lowRISC/micropython,HenrikSolver/micropython,SHA2017-badge/micropython-esp32,mgyenik/micropython,adamkh/micropython,TDAbboud/micropython,pramasoul/micropython,danicampora/micropython,chrisdearman/micropython,cwyark/micropython,neilh10/micropython,xyb/micropython,feilongfl/micropython,xhat/micropython,toolmacher/micropython,PappaPeppar/micropython,toolmacher/micropython,adamkh/micropython,xuxiaoxin/micropython,blmorris/micropython,AriZuu/micropython,dxxb/micropython,noahwilliamsson/micropython,vitiral/micropython,xuxiaoxin/micropython,stonegithubs/micropython,kostyll/micropython,noahwilliamsson/micropython,suda/micropython,pfalcon/micropython,swegener/micropython,Peetz0r/micropython-esp32,trezor/micropython,neilh10/micropython,ahotam/micropython,TDAbboud/micropython,supergis/micropython,ericsnowcurrently/micropython,tuc-osg/micropython,deshipu/micropython,henriknelson/micropython,utopiaprince/micropython,EcmaXp/micropython,bvernoux/micropython,MrSurly/micropython,mpalomer/micropython,vitiral/micropython,praemdonck/micropython,lowRISC/micropython,Timmenem/micropython,PappaPeppar/micropython,noahwilliamsson/micropython,blmorris/micropython,slzatz/micropython,blazewicz/micropython,ernesto-g/micropython,blmorris/micropython,xhat/micropython,bvernoux/micropython,Peetz0r/micropython-esp32,kerneltask/micropython,misterdanb/micropython,noahchense/micropython,praemdonck/micropython,ganshun666/micropython,stonegithubs/micropython,jmarcelino/pycom-micropython,supergis/micropython,deshipu/micropython,utopiaprince/micropython,orionrobots/micropython,martinribelotta/micropython,rubencabrera/micropython,AriZuu/micropython,xhat/micropython,xuxiaoxin/micropython,ganshun666/micropython,TDAbboud/micropython,pfalcon/micropython,emfcamp/micropython,lowRISC/micropython,Timmenem/micropython,adafruit/circuitpython,drrk/micropython,dhylands/micropython,EcmaXp/micropython,kerneltask/micropython,jmarcelino/pycom-micropython,drrk/micropython,deshipu/micropython,cwyark/micropython,suda/micropython,ernesto-g/micropython,adafruit/micropython,neilh10/micropython,turbinenreiter/micropython,MrSurly/micropython-esp32,skybird6672/micropython,noahchense/micropython,deshipu/micropython,martinribelotta/micropython,ruffy91/micropython,dmazzella/micropython,kerneltask/micropython,mgyenik/micropython,mhoffma/micropython,ganshun666/micropython,stonegithubs/micropython,rubencabrera/micropython,ahotam/micropython,vriera/micropython,orionrobots/micropython,neilh10/micropython,dmazzella/micropython,misterdanb/micropython,puuu/micropython,redbear/micropython,dxxb/micropython,ryannathans/micropython,HenrikSolver/micropython,drrk/micropython,alex-march/micropython,danicampora/micropython,chrisdearman/micropython,trezor/micropython,blazewicz/micropython,TDAbboud/micropython,alex-march/micropython,danicampora/micropython,misterdanb/micropython,ryannathans/micropython,adafruit/circuitpython,orionrobots/micropython,jlillest/micropython,dxxb/micropython,orionrobots/micropython,puuu/micropython,adafruit/circuitpython,oopy/micropython,infinnovation/micropython,mianos/micropython,dxxb/micropython,firstval/micropython,cnoviello/micropython,puuu/micropython,pfalcon/micropython,MrSurly/micropython,selste/micropython,torwag/micropython,jimkmc/micropython,xhat/micropython,pozetroninc/micropython,tdautc19841202/micropython,oopy/micropython,martinribelotta/micropython,pozetroninc/micropython,mgyenik/micropython,supergis/micropython,tralamazza/micropython,praemdonck/micropython,MrSurly/micropython,heisewangluo/micropython,ernesto-g/micropython,lbattraw/micropython,xyb/micropython,AriZuu/micropython,mhoffma/micropython,turbinenreiter/micropython,emfcamp/micropython,xyb/micropython,adafruit/micropython,utopiaprince/micropython,kostyll/micropython,cnoviello/micropython,misterdanb/micropython,orionrobots/micropython,jlillest/micropython,redbear/micropython,xhat/micropython,pozetroninc/micropython,neilh10/micropython,noahwilliamsson/micropython,infinnovation/micropython,EcmaXp/micropython,tralamazza/micropython,blazewicz/micropython,danicampora/micropython,Timmenem/micropython,adamkh/micropython,hiway/micropython,micropython/micropython-esp32,ruffy91/micropython,mianos/micropython,pfalcon/micropython,mhoffma/micropython,oopy/micropython,infinnovation/micropython,micropython/micropython-esp32,matthewelse/micropython,TDAbboud/micropython,drrk/micropython,firstval/micropython,micropython/micropython-esp32,firstval/micropython,mpalomer/micropython,cloudformdesign/micropython,alex-robbins/micropython,swegener/micropython,ChuckM/micropython,cnoviello/micropython,bvernoux/micropython,ernesto-g/micropython,dinau/micropython,mhoffma/micropython,noahchense/micropython,hiway/micropython,omtinez/micropython,alex-robbins/micropython,trezor/micropython,galenhz/micropython,hosaka/micropython,supergis/micropython,hiway/micropython,pramasoul/micropython,matthewelse/micropython,pramasoul/micropython,turbinenreiter/micropython,firstval/micropython,vriera/micropython,blmorris/micropython,ahotam/micropython,AriZuu/micropython,dmazzella/micropython,hosaka/micropython,suda/micropython,matthewelse/micropython,dhylands/micropython,heisewangluo/micropython,ryannathans/micropython,martinribelotta/micropython,cloudformdesign/micropython,tuc-osg/micropython,AriZuu/micropython,cloudformdesign/micropython,mgyenik/micropython,SHA2017-badge/micropython-esp32,tobbad/micropython,cwyark/micropython,dxxb/micropython,tobbad/micropython,matthewelse/micropython,mpalomer/micropython,jimkmc/micropython,infinnovation/micropython,ChuckM/micropython,alex-march/micropython,HenrikSolver/micropython,alex-march/micropython,omtinez/micropython,tralamazza/micropython,hosaka/micropython,lbattraw/micropython,hosaka/micropython,trezor/micropython,ceramos/micropython,bvernoux/micropython,HenrikSolver/micropython,utopiaprince/micropython,blazewicz/micropython,stonegithubs/micropython,vitiral/micropython,ericsnowcurrently/micropython,turbinenreiter/micropython,matthewelse/micropython,deshipu/micropython,tuc-osg/micropython,suda/micropython,selste/micropython,slzatz/micropython