Make the enabled profiler a member of JSGlobalData, and switch code that accesses it to do so directly via the JSGlobalData, rather than holding a Profiler** reference to it. Do not pass the Profiler** reference to JIT code. This patch does not change the stack layout on entry into JIT code (passing an unused void* instead), since this is an intrusive change better handled in a separate patch.
Created attachment 145637 [details] Fix
Attachment 145637 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source..." exit_code: 1 Source/JavaScriptCore/llint/LLIntSlowPaths.cpp:1549: The parameter name "profiler" adds no information, so it should be removed. [readability/parameter_name] [5] Source/JavaScriptCore/llint/LLIntSlowPaths.cpp:1557: The parameter name "profiler" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 2 in 10 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 145637 [details] Fix Attachment 145637 [details] did not pass win-ews (win): Output: http://queues.webkit.org/results/12896385
Created attachment 145645 [details] Windows build fix
Attachment 145645 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source..." exit_code: 1 Source/JavaScriptCore/llint/LLIntSlowPaths.cpp:1549: The parameter name "profiler" adds no information, so it should be removed. [readability/parameter_name] [5] Source/JavaScriptCore/llint/LLIntSlowPaths.cpp:1557: The parameter name "profiler" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 2 in 10 files If any of these errors are false positives, please file a bug against check-webkit-style.
Fixed in r119441
Build fix after r119441: http://trac.webkit.org/changeset/119768