Vlad,

Thanks a lot for spotting this!

Unfortunately, you can't just overwrite the index register. The contract of the generator is to preserve it. It may fail depending on the state of the calling virtual frame. I think the right fix to change the runtime function, because it is only called from this code. I'm sending you a review with this fix (and some
tests)...


-- Vitaly

http://codereview.chromium.org/2478003/show

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to