It removes cached code from the instruction cache. The snippet just modified the code at runtime. If the cache isn't flushed the old code might be executed