Index: src/ic.cc |
diff --git a/src/ic.cc b/src/ic.cc |
index 23cae194a2112f116329daa13df237df731e3888..c11f58244e05b2299d61280f5fa0044d98a6c8ff 100644 |
--- a/src/ic.cc |
+++ b/src/ic.cc |
@@ -724,7 +724,7 @@ Handle<HeapType> IC::MapToType<HeapType>(Handle<Map> map, Isolate* region); |
void IC::UpdateMonomorphicIC(Handle<Code> handler, Handle<String> name) { |
- if (!handler->is_handler()) return set_target(*handler); |
+ ASSERT(handler->is_handler()); |
Handle<Code> ic = PropertyICCompiler::ComputeMonomorphic( |
kind(), name, receiver_type(), handler, extra_ic_state()); |
set_target(*ic); |