DescriptionRemove write-barriers for stores to new-space objects.
This change allows hydrogen instructions to keep track of instructions
that dominate certain side-effects (GVN flags) in the hydrogen graph. We
use the GVN pass to keep track of side-effects because accurate flags
are already in place.
It also adds a new side-effect (kChangesNewSpacePromotion) indicating
whether an instruction can cause a GC and have objects be promoted to
old-space. An object allocated in new-space is sure to stay on paths not
having said side-effect.
R=erik.corry@gmail.com
TEST=mjsunit/compiler/inline-construct
Committed: https://code.google.com/p/v8/source/detail?r=11270
Patch Set 1 #Patch Set 2 : Make kNumberOfTrackedSideEffects a generated value. #
Total comments: 10
Patch Set 3 : Addressed comments by Erik Corry. #
Messages
Total messages: 3 (0 generated)
|