Implement property CallOrInvokeInstruction.called_function
Also add a testcase.
This commit is contained in:
parent
5d14461c84
commit
5bd4991f0b
5 changed files with 20 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue