DescriptionFix HType handling for HConstant with external references.
We cannot use set_type() with HType::None() in the HConstant
constructor, since set_type() asserts that the new type is a
subtype of the previous one, but HType::None() is not a subtype
of HType::Tagged() which is the initial type set by the HValue
constructor.
This patch adds an optional type parameter to the HValue,
HInstruction and HTemplateInstruction constructors.
R=titzer@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=15980
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|