Add catch trace to RaiseWarning in emitDiv
commit1e2a272df555e1a5601c6b546b90ee691a645964
authorbsimmers <bsimmers@fb.com>
Thu, 19 Dec 2013 19:08:06 +0000 (19 11:08 -0800)
committerSara Golemon <sgolemon@fb.com>
Tue, 24 Dec 2013 17:58:59 +0000 (24 09:58 -0800)
tree1206e86a32fbd0de8f40216e1cd12517843b22c7
parent2973400e8e9b2be67468e474238dd592d8f2b81e
Add catch trace to RaiseWarning in emitDiv

Anything that can throw must have a catch trace.

Reviewed By: @bertmaher

Differential Revision: D1106629
hphp/runtime/vm/jit/hhbc-translator.cpp
hphp/runtime/vm/jit/simplifier.cpp
hphp/test/quick/div-zero.php [new file with mode: 0644]
hphp/test/quick/div-zero.php.expectf [new file with mode: 0644]