Fix some issues with Func::setFullName
commit0333c431d878495ed4dca732f6909d2688b1fb89
authormwilliams <mwilliams@fb.com>
Tue, 6 May 2014 16:00:30 +0000 (6 09:00 -0700)
committerJoelMarcey <joelm@fb.com>
Thu, 8 May 2014 04:56:12 +0000 (7 21:56 -0700)
tree290175fb99a7e25e4eaab256039011d6518a4f7c
parentda39bf40da5060a19bca13d0497530dd5387eb8f
Fix some issues with Func::setFullName

Summary: When Eval.PerfDataMap is true, we need the number of parameters in
Func::setFullName, but its no longer available in m_numParams at the time
we call it due to variadic parameter changes.

Pass it in instead.

Reviewed By: @edwinsmith

Differential Revision: D1314506
hphp/runtime/vm/class.cpp
hphp/runtime/vm/func.cpp
hphp/runtime/vm/func.h