Fix core dump when negating equality checks on arrays
commit6ec4d094f0264012a72483daa477c96008a635fd
authorDavid Snider <dizzy@fb.com>
Thu, 10 Jun 2021 12:58:03 +0000 (10 05:58 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 10 Jun 2021 13:00:03 +0000 (10 06:00 -0700)
tree8f26000b90c0eeb6b431e985ab4a0b79efda477c
parent7cf24ba70e3b7356264234aac7f3f0812497806e
Fix core dump when negating equality checks on arrays

Summary: Prior to this change the test aborted. Now it works.

Reviewed By: ricklavoie

Differential Revision: D28999838

fbshipit-source-id: 2481dba8ab1fef23b7081cbfeab39ca81072941a
hphp/runtime/vm/jit/simplify.cpp
hphp/test/slow/comparisons/negation.php [new file with mode: 0644]
hphp/test/slow/comparisons/negation.php.expect [new file with mode: 0644]