Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(620)

Unified Diff: src/ic/ic.cc

Issue 730383002: Fix IC handler cache clearing for JSBuiltinsObject (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic/ic.cc
diff --git a/src/ic/ic.cc b/src/ic/ic.cc
index 7e7ef15c3d6ddd4da7f7cba6b6e8b1f4dda56bd9..0c38c2b74112b24eb3893147cf0abaf931f554af 100644
--- a/src/ic/ic.cc
+++ b/src/ic/ic.cc
@@ -339,7 +339,7 @@ void IC::UpdateState(Handle<Object> receiver, Handle<Object> name) {
// 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_ = UNINITIALIZED;
+ if (receiver->IsJSBuiltinsObject()) state_ = PREMONOMORPHIC;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698