Index: src/ic/ic.cc |
diff --git a/src/ic/ic.cc b/src/ic/ic.cc |
index 80651b1588e0a14e1575e6cd2d6a252fc2cbbcfd..65f4306a3c0c6cb759a06e30787eaa56e1fdb619 100644 |
--- a/src/ic/ic.cc |
+++ b/src/ic/ic.cc |
@@ -332,14 +332,6 @@ void IC::UpdateState(Handle<Object> receiver, Handle<Object> name) { |
MarkPrototypeFailure(name); |
return; |
} |
- |
- // The builtins object is special. It only changes when JavaScript |
- // builtins are loaded lazily. It is important to keep inline |
- // caches for the builtins object monomorphic. Therefore, if we get |
- // an inline cache miss for the builtins object after lazily loading |
- // JavaScript builtins, we return uninitialized as the state to |
- // force the inline cache back to monomorphic state. |
- if (receiver->IsJSBuiltinsObject()) state_ = PREMONOMORPHIC; |
} |