ChakraCore
ChakraCore copied to clipboard
Bug with lossy int type specialization
We dont kill type specialized values across calls for perf reasons. This can be a problem when we lossy int type specialize an object. If a call following the conversion overrides, for example, valueOf on the object and the object is used as an int after the call (for example, in a shift), we will use the already available int version and end up not executing valueOf.