Bug 1096023 - Fix code generation for ClassHook caches when the SPS profiler is active, r=jandem.