Comment #2 on issue 260 by [email protected]: Assertion failure:  
CHECK(cgen_ == __null) failed
http://code.google.com/p/v8/issues/detail?id=260

Here's an even simpler test case.

   function test() {
     eval("while(function () { var x });");
   }
   test();

I'm pretty sure the problem is related to the double compilation of  
conditions when
compiling loops introduced in revision 1344. It only happens when we have  
breakable
statements (like blocks) with jump targets in the condition expression of a  
loop
where we compile the condition twice; see

   http://code.google.com/p/v8/source/detail?r=1344

If this really is the case, then the condition check failure should be  
harmless
because we're not compiling the same block recursively; we're just doing it  
twice.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

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

Reply via email to