Move ir inlining tests to slow/ir_inlining, add case for bug @mwilliams found

Mark hit a bug that aravind already fixed where we didn't set
stackDeficit to zero after ending an inlined call.  Adds the repro
case and moves all the tests to slow.
Esse commit está contido em:
Jordan DeLong
2013-05-12 12:36:47 -07:00
commit de Sara Golemon
commit f6a2dd1b4f
26 arquivos alterados com 17 adições e 0 exclusões
@@ -0,0 +1,14 @@
<?hh
class X {
protected function foo(): Map<string,string>{ return Map {}; }
function fiz(): void {
$this->fuz('save', $this->foo());
}
function fuz($a, $b): void {
var_dump($a, $b);
}
}
$x = new X;
$x->fiz();
@@ -0,0 +1,3 @@
string(4) "save"
object(Map)#2 (0) {
}