Add instrumentation to JIT for invalid instruction errors.