This change makes Debug use less vm-implementation-specific code to ask which opcodes represent method invocations.