The current shadow chicken implementation isn't written to work with inlining.
<rdar://problem/29146436>
Created attachment 295094 [details] proposed patch.
Comment on attachment 295094 [details] proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=295094&action=review > Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp:1412 > + if (UNLIKELY(m_hasDebuggerEnabled || Options::alwaysUseShadowChicken())) { Why not set the inlining depth to 1 inside recomputeDependentOptions?
Comment on attachment 295094 [details] proposed patch. Also, do you have a test?
(In reply to comment #3) > Comment on attachment 295094 [details] > proposed patch. > > View in context: > https://bugs.webkit.org/attachment.cgi?id=295094&action=review > > > Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp:1412 > > + if (UNLIKELY(m_hasDebuggerEnabled || Options::alwaysUseShadowChicken())) { > > Why not set the inlining depth to 1 inside recomputeDependentOptions? I like this solution better. I will change the patch. (In reply to comment #4) > Comment on attachment 295094 [details] > proposed patch. > > Also, do you have a test? Sorry, don't have a reduced one.
Created attachment 295097 [details] proposed patch.
Thanks for the review. Landed in r208866: <http://trac.webkit.org/r208866>.