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

Unified Diff: runtime/vm/intermediate_language.cc

Issue 10536086: Add stack check in loops so that loops can be stopped. Optimize relational operations. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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
Index: runtime/vm/intermediate_language.cc
===================================================================
--- runtime/vm/intermediate_language.cc (revision 8478)
+++ runtime/vm/intermediate_language.cc (working copy)
@@ -414,6 +414,11 @@
}
+RawAbstractType* RelationalOpComp::StaticType() const {
+ return Type::BoolInterface();
+}
+
+
RawAbstractType* NativeCallComp::StaticType() const {
// The result type of the native function is identical to the result type of
// the enclosing native Dart function. However, we prefer to check the type
@@ -586,6 +591,12 @@
}
+RawAbstractType* CheckStackOverflowComp::StaticType() const {
+ UNREACHABLE();
+ return AbstractType::null();
+}
+
+
RawAbstractType* BinaryOpComp::StaticType() const {
// TODO(srdjan): Compute based on input types (ICData).
return Type::DynamicType();

Powered by Google App Engine
This is Rietveld 408576698