RegExpCache::finalize should not delete code