ChakraCore icon indicating copy to clipboard operation
ChakraCore copied to clipboard

Bug with lossy int type specialization

Open rajatd opened this issue 10 years ago • 0 comments

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.

rajatd avatar Feb 06 '16 00:02 rajatd