Whoops, this was the message I meant to send - previous was my bug report:

Is there something I need to do if I am running the same compiled script 
twice, without recompiling it?  Generally it works, but I had one case that 
I managed to simplify to the script "a[0];", which when run twice on an 
empty array (see simplified source code below - error checking mostly 
omitted) will quit with this fatal error during the second Run():

 Fatal error in ..\..\src\deoptimizer.cc, line 1591
 CHECK(descriptor->register_param_count_ >= 0) failed

In the debugger I can see that descriptor->register_param_count_ == -1.

 Isolate *isolate = Isolate::New();
 isolate->Enter();
 HandleScope scope(isolate);
 Local<Context> context = Context::New(isolate);
 context->Enter();
 Local<String> source = String::NewFromOneByte(isolate, (uint8_t const 
*)"a[0];");
 Local<Script> script = Script::Compile(source);
 Handle<Array> value = Array::New(isolate);
 context->Global()->Set(String::NewFromOneByte(isolate, (uint8_t *)"a"), 
value);
 Local<Value> ret = script->Run();
 if (ret.IsEmpty())
     return 1;
 ret = script->Run();

I am using Visual Studio 2012 Update 4, x86, compiling with gyp and git 
commit 64c43805a83091683d9c7e474367f5723f29d56c.  I have also seen it when 
compiling in x64 and using Visual Stdio 2008.  More information in 
http://code.google.com/p/v8/issues/detail?id=3332.
lso reproduce this in VS2008. 
>
>

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to