Fix #580: the IR optimization pass for object mode would generate incorrect code with DUP_TOP* opcodes.
Merge pull request #581 from pitrou/fix580

Fix #580: the IR optimization pass for object mode would generate incorr...
Merge branch 'master' of github.com:numba/numba into enumerate_npm