Implement property CallOrInvokeInstruction.called_function

Also add a testcase.
This commit is contained in:
Wladimir J. van der Laan 2012-09-02 13:22:00 +02:00
commit 5bd4991f0b
5 changed files with 20 additions and 1 deletions

View file

@ -61,6 +61,8 @@ entry:
self.assertEqual(len(i1.operands), 3)
self.assertEqual(len(i2.operands), 2)
self.assert_(i1.called_function is prod)
tests.append(TestOperands)
# ---------------------------------------------------------------------------