Fixes the usage of 'argument' and 'extra' for opcode::doPrimitive

Issue: #32