Hi,

There is no interpreter in V8. All JS code is compiled directly into
machine code.
Interception is only possible if a user-defined C++ function is called
(e.g. a custom property accessor, etc.), because this is the only way
to pass control flow out from the virtual machine to user code.

On Wed, Jan 19, 2011 at 02:14, irobert <[email protected]> wrote:
> Hello to everyone in this group:
>      I am currently want to implement a new idea on V8 JavaScript
> interpreter. To finish the job, I want to intercept the event from the
> interpreter. For example, 2 user-defined function A() and B(), and
> function A need to call function B in the body of A. I want to
> intercept the event when this call happens. I don't know if any one
> knows such a API in V8 to achieve this task. If you know the answer,
> please let me know.
>
> Thanks to everyone.
> My best regard
>
> --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users
>

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

Reply via email to