[webkit-dev] get an object name in jsc

2014-04-16 Thread wei wang
Hey, I wonder how to obtain an object name from LLInt? Inside jsc, JSObject do not have a map to the identifier in the original source code. More specific, if I have the following JS source code: var person = new Object(); How can I get the object name (i.e., person) from LLInt? Thanks. Best,

Re: [webkit-dev] get an object name in jsc

2014-04-16 Thread Filip Pizlo
What you ask for is impossible. Formally what you want is a reverse pointer mapping and then you want to do a search of the reverse map from an object and if this ends up at a local variable then you want to ask for its name. - we don't track reverse pointer maps because it would be insanely