}
public static String getSourceNameAndLineForThread(Thread t) {
- CompiledFunction cf = getContextForThread(t).getCurrentFunction();
+ JS.CompiledFunction cf = getContextForThread(t).getCurrentFunction();
if (cf == null) return "null";
return cf.getSourceName() + ":??";
}
/** fetches the currently-executing javascript function */
- public CompiledFunction getCurrentFunction() { return (CompiledFunction)currentFunction.get(Thread.currentThread()); }
+ public JS.CompiledFunction getCurrentFunction() { return (JS.CompiledFunction)currentFunction.get(Thread.currentThread()); }
public static Context getContextForThread(Thread t) {
Context ret = (Context)javaThreadToContextMap.get(t);