Index: src/hydrogen-instructions.cc |
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc |
index c8db9a0248e68a36ca8802531e8588caceb15d2a..e28b9efd8f3bf8a2957b0172e0cba537879ddda1 100644 |
--- a/src/hydrogen-instructions.cc |
+++ b/src/hydrogen-instructions.cc |
@@ -1268,13 +1268,15 @@ void HLoadNamedField::PrintDataTo(StringStream* stream) { |
} |
-HLoadNamedFieldPolymorphic::HLoadNamedFieldPolymorphic(HValue* object, |
+HLoadNamedFieldPolymorphic::HLoadNamedFieldPolymorphic(HValue* context, |
+ HValue* object, |
ZoneMapList* types, |
Handle<String> name) |
- : HUnaryOperation(object), |
- types_(Min(types->length(), kMaxLoadPolymorphism)), |
+ : types_(Min(types->length(), kMaxLoadPolymorphism)), |
name_(name), |
need_generic_(false) { |
+ SetOperandAt(0, context); |
+ SetOperandAt(1, object); |
set_representation(Representation::Tagged()); |
SetFlag(kDependsOnMaps); |
for (int i = 0; |