Remove logic handling `Exception::$trace` as a resource
commitf633ff7ded19a31fa19e38a69e6f6127ea3273f6
authorHunter Goldstein <hgoldstein@fb.com>
Wed, 1 Jun 2022 15:55:01 +0000 (1 08:55 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 1 Jun 2022 15:55:01 +0000 (1 08:55 -0700)
tree523d946e5e3c96675f4f1d60ad318c8060d6a38c
parentc49f0d7c5e4633a5c7d8764e19c40c6eb2cfda07
Remove logic handling `Exception::$trace` as a resource

Summary: Since D27932342 (https://github.com/facebook/hhvm/commit/db41a60799b5289ae30a0b49c7a98287f23ab548) we stopped initializing `Exception::$trace` with a resource. This change was originally landed with D28258675 (https://github.com/facebook/hhvm/commit/2db11bef67ef092016179f655e3bd5b692e1621b), but got reverted in D28258675 (https://github.com/facebook/hhvm/commit/2db11bef67ef092016179f655e3bd5b692e1621b), caught in the crossfire of removing the compact backtrace optimization.

Reviewed By: ricklavoie

Differential Revision: D36530155

fbshipit-source-id: 105fa3f3a14b7365adb7d8a228378ae081d1687d
hphp/runtime/base/exceptions.cpp
hphp/runtime/ext/std/ext_std_errorfunc.cpp
hphp/runtime/ext/std/ext_std_errorfunc.php