JSValue profiledEvaluate(ExecState* exec, ProfilingReason reason, const SourceCode& source, JSValue thisValue, NakedPtr<Exception>& returnedException) { ScriptProfilingScope profilingScope(exec->vmEntryGlobalObject(), reason); return evaluate(exec, source, thisValue, returnedException); }
JSValue profiledCall(ExecState* exec, ProfilingReason reason, JSValue functionObject, CallType callType, const CallData& callData, JSValue thisValue, const ArgList& args, NakedPtr<Exception>& returnedException) { ScriptProfilingScope profilingScope(exec->vmEntryGlobalObject(), reason); return call(exec, functionObject, callType, callData, thisValue, args, returnedException); }