hi,
- Is there a way to get to the code object from arbitrary address in
that code object? (GetCodeFromTargetAddress() requires a start
address)
- get to the JSFunction from the code object
- lookup a JSFunction given a string. The following works but modifies
the factory
Handle<String> name = Factory::LookupAsciiSymbol("<MySymbol>");
Handle<JSFunction> function = Handle<JSFunction>(
       JSFunction::cast(Top::context()->global()->GetProperty(*name)));
The above is required to help my debugging the function code after
patching it with ic targets.

thanks,
Zaheer

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

Reply via email to