Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index a87d623790e0007198cd6bf08ca20a1662606154..018e50fb69585f959141cd6e78b001536abbf37d 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -5792,9 +5792,8 @@ HInstruction* HOptimizedGraphBuilder::BuildLoadNamedField( |
Handle<JSObject>::cast(object)->Lookup(info->name(), &lookup); |
Handle<Object> value(lookup.GetLazyValue(), isolate()); |
- if (!value->IsTheHole()) { |
- return New<HConstant>(value); |
- } |
+ ASSERT(!value->IsTheHole()); |
+ return New<HConstant>(value); |
} |
} |