JSValueRef numberOfDFGCompiles(JSContextRef context, JSValueRef theFunctionValueRef)
{
    ExecState* exec= toJS(context);
    return toRef(exec, numberOfDFGCompiles(toJS(exec, theFunctionValueRef)));
}
Esempio n. 2
0
JSValue numberOfDFGCompiles(ExecState* exec)
{
    if (exec->argumentCount() < 1)
        return jsUndefined();
    return numberOfDFGCompiles(exec->uncheckedArgument(0));
}