DescriptionFix bug with guarded fields and deserialization.
Since deserialization does not involve the normal object construction
procedure, any values written there won't be reflected in the guarded field
type. This results in incorrect optimized code because deoptimization of
dependent code objects in not triggered.
This CL adds tracking of field types and guarded list length when creating
objects via deserialization.
R=iposva@google.com
Committed: https://code.google.com/p/dart/source/detail?r=29741
Patch Set 1 #
Total comments: 1
Patch Set 2 : improved test to cover Instance::SetField #
Total comments: 8
Patch Set 3 : #Patch Set 4 : #
Total comments: 22
Messages
Total messages: 7 (0 generated)
|