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

Unified Diff: runtime/vm/object.h

Issue 11230034: Fix super ==: Test first for null before call inf super ==. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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
Index: runtime/vm/object.h
===================================================================
--- runtime/vm/object.h (revision 13897)
+++ runtime/vm/object.h (working copy)
@@ -1268,9 +1268,7 @@
bool is_abstract() const { return AbstractBit::decode(raw_ptr()->kind_tag_); }
void set_is_abstract(bool value) const;
- bool is_inlinable() const {
- return InlinableBit::decode(raw_ptr()->kind_tag_) && HasCode();
- }
+ bool IsInlineable() const;
void set_is_inlinable(bool value) const;
bool HasOptimizedCode() const;

Powered by Google App Engine
This is Rietveld 408576698