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

Unified Diff: runtime/vm/intermediate_language.h

Issue 18089019: Fixed crash in EqualityCompareInstr::IsCheckedStrictEqual : update unary_ic_data_ if ic_data_ is se… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 months 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: runtime/vm/intermediate_language.h
===================================================================
--- runtime/vm/intermediate_language.h (revision 24597)
+++ runtime/vm/intermediate_language.h (working copy)
@@ -2846,7 +2846,12 @@
bool HasICData() const {
return (ic_data() != NULL) && !ic_data()->IsNull();
}
- void set_ic_data(const ICData* value) { ic_data_ = value; }
+ void set_ic_data(const ICData* value) {
+ ic_data_ = value;
+ if (HasICData()) {
+ unary_ic_data_ = &ICData::ZoneHandle(ic_data_->AsUnaryClassChecks());
+ }
+ }
// Receiver class id is computed from collected ICData.
void set_receiver_class_id(intptr_t value) { receiver_class_id_ = value; }
« 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