Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 082b4ea7f17b8fd0c7a0f7c365e2af4705c5d924..e2fbfb59c4b6fbf3462ba1343b7e8fcb1354997e 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -4684,6 +4684,7 @@ HInstruction* HGraphBuilder::BuildStoreNamedField(HValue* object, |
} else { |
// Otherwise, find the top prototype. |
while (proto->GetPrototype()->IsJSObject()) proto = proto->GetPrototype(); |
+ ASSERT(proto->GetPrototype()->IsNull()); |
} |
ASSERT(proto->IsJSObject()); |
AddInstruction(new(zone()) HCheckPrototypeMaps( |