Rajat Dua
Rajat Dua
See ScriptFunction constructor. Only the background-jit-stats related updates should be made inside the BGJIT_STATS macro scope
SimplePropertyDescriptor const JavascriptLibrary::SharedFunctionPropertyDescriptors[2] = { SimplePropertyDescriptor(BuiltInPropertyRecords::prototype, PropertyWritable), SimplePropertyDescriptor(BuiltInPropertyRecords::name, PropertyConfigurable | PropertyWritable) };
A missing 'e' :)
I don't see any instance where we assign this bailout to an instruction. All the instances in the current codebase deal with checking for this bailout. Maybe it was needed...
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...
Currently the error message we print is "Cannot modify non-writable property" while it should be "Cannot redefine non-configurable property"
When forcing type-spec on a loop header, globopt wasn't taking multiple loop back edges into account. In case of more than one loop back edges, we can only force type-spec...
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...
Jitted code for setting an element to a typed array checks if the length is greater than 0. If not, it just bypasses the set. We set the length of...
Repro: build chakracore on linux: ./build.sh --cc=/usr/bin/clang --cxx=/usr/bin/clang++ --arch=amd64 --debug --static -j 8 --sanitize=address,undefined,signed-integer-overflow run `./ch -` from `/out/Debug/bin/ch` output: ==67392==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60200000eec4 at pc 0x7f4ec99064bf bp...