ChakraCore
ChakraCore copied to clipboard
Switch optimizations are not disabled when we rejit because of them.
When we rejit (which means that some assumption we made in the jit is no longer true and we have bailed out enough times to realize that we want updated profile info) we disable the optimization that caused the bailouts and the rejit. Otherwise, there is a high chance that we will keep bailing out and rejitting because of the same reason. This is not being done for switch opts.
Resolved by #704