Simplify Context#delegateYield by expanding scope of ContinueSentinel.
Simplify Context#delegateYield by expanding scope of ContinueSentinel.

Returning the ContinueSentinel object used to have the same effect as
continuing the while loop inside the inner function (or, equivalently,
breaking out of the switch statement), but it turns out to be more
convenient if we jump back out to the level of the .next or .throw method
and do everything except calling assertCanInvoke() again.

rafaelstz/regenerator,kittens/regenerator,liviuignat/regenerator,Jericho25/regenerator,RReverser/js-goto-transpiler,rafaelstz/regenerator,sebmck/regenerator,Jericho25/regenerator,liviuignat/regenerator,RReverser/js-goto-transpiler,juliocanares/regenerator,facebook/regenerator,kittens/regenerator,juliocanares/regenerator,facebook/regenerator,sebmck/regenerator,facebook/regenerator