Hi,

I'm building v8 for an ARM6 board, and things appear to run smoothly
up until the point where I call v8::Context::New(NULL,
api_callback_context_);

As you know, the creation of a new context forces the JS natives to be
compiled and run.

This process proceeds fine up until the point where the JSEntryStub is
called to invoke the compiled JS function. The code is generated by
JSEntryStub::GenerateBody.

Debugging this issue, I've noticed that even if
JSEntryStub::GenerateBody contains only a few nop()s, the crash still
occurs, leading me to believe that the issue has nothing to do with
the compiled  JS function. The crash occurs at Invoke() in
execution.cc where CALL_GENERATED_CODE happens. I know the addresses
of the parameters are valid, as well as the address of the stub. (I
can inspect the memory at the entry stub address and see the
instructions put there by JSEntryStub::GenerateBody).

Everything appears fine from a method invocation standpoint as far as
I can tell. What gives?

Thanks again.

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

Reply via email to