Description[turbofan] Try harder to avoid write barriers when writing Smis.
This avoids write barrier when writing smis to tagged fields.
This includes writing to contexts, see example below:
var f = (function() {
var i = 0;
return function f() {
return i++; // Write barrier when writing to context.
}
})();
f(); f(); %OptimizeFunctionOnNextCall(f);
f();
Review-Url: https://codereview.chromium.org/2925793002
Cr-Commit-Position: refs/heads/master@{#45723}
Committed: https://chromium.googlesource.com/v8/v8/+/c22ca7f73ba92f22d0cd29b06bb2944a545a8d3e
Patch Set 1 #
Total comments: 1
Patch Set 2 : Address reviewer comments #Messages
Total messages: 13 (9 generated)
|