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

Unified Diff: src/ic/ic-inl.h

Issue 755513003: Hydrogen: fix keyed loads with string keys (Closed) Base URL: gh:v8/v8@master
Patch Set: better fix Created 6 years 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
Index: src/ic/ic-inl.h
diff --git a/src/ic/ic-inl.h b/src/ic/ic-inl.h
index 22f66d0409b03d45ce443c95caf897d4cb5d8628..ddd7614b3d6e915bbc10ec08528967d30aaa9742 100644
--- a/src/ic/ic-inl.h
+++ b/src/ic/ic-inl.h
@@ -136,6 +136,11 @@ void LoadIC::set_target(Code* code) {
}
+void KeyedLoadIC::set_target(Code* code) {
+ IC::set_target(code);
+}
+
+
void StoreIC::set_target(Code* code) {
// Strict mode must be preserved across IC patching.
DCHECK(GetStrictMode(code->extra_ic_state()) ==

Powered by Google App Engine
This is Rietveld 408576698