diff options
Diffstat (limited to 'JavaScriptCore/profiler')
-rw-r--r-- | JavaScriptCore/profiler/Profiler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/JavaScriptCore/profiler/Profiler.cpp b/JavaScriptCore/profiler/Profiler.cpp index 2de8f84..ace0a33 100644 --- a/JavaScriptCore/profiler/Profiler.cpp +++ b/JavaScriptCore/profiler/Profiler.cpp @@ -58,6 +58,8 @@ Profiler* Profiler::profiler() void Profiler::startProfiling(ExecState* exec, const UString& title) { + ASSERT_ARG(title, !title.isNull()); + // Check if we currently have a Profile for this global ExecState and title. // If so return early and don't create a new Profile. ExecState* globalExec = exec ? exec->lexicalGlobalObject()->globalExec() : 0; |