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

Unified Diff: runtime/vm/intermediate_language.h

Issue 22580005: Implement IsNullCheck for CheckClassInstr. If input is nullable expected type, then check for null … (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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/intermediate_language.h
===================================================================
--- runtime/vm/intermediate_language.h (revision 25902)
+++ runtime/vm/intermediate_language.h (working copy)
@@ -6330,10 +6330,8 @@
virtual void PrintOperandsTo(BufferFormatter* f) const;
- void set_null_check(bool flag) { null_check_ = flag; }
+ bool IsNullCheck() const;
- bool null_check() const { return null_check_; }
-
virtual bool AllowsCSE() const { return true; }
virtual EffectSet Effects() const { return EffectSet::None(); }
virtual EffectSet Dependencies() const;
@@ -6344,8 +6342,6 @@
private:
const ICData& unary_checks_;
- bool null_check_;
-
DISALLOW_COPY_AND_ASSIGN(CheckClassInstr);
};

Powered by Google App Engine
This is Rietveld 408576698