DescriptionFix for V8 issue 2795: Check fails with deopt for mjsunit/array-store-and-grow
(https://code.google.com/p/v8/issues/detail?id=2795)
The reason is when allocating and building arrays in hydrogen we need to ensure
we do any int32-to-smi conversions BEFORE the allocation. These conversions can
at least theoretically deoptimize. If this happens before all the fields of the
newly allocated object are filled in, we will have a corrupted heap.
BUG=
R=verwaest@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=15929
Patch Set 1 #Patch Set 2 : Added test #Patch Set 3 : Test cleanup #Patch Set 4 : Removed overkillin' wrapper #
Messages
Total messages: 5 (0 generated)
|