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

Unified Diff: runtime/vm/intermediate_language.cc

Issue 1756403002: VM: Add smi fast path operations for precompiled code (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: simplified register constraints on arm, arm64 Created 4 years, 10 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
diff --git a/runtime/vm/intermediate_language.cc b/runtime/vm/intermediate_language.cc
index 4f4032fce706c7db24ec99c1057b89e3c0d63174..be38128e28f0d6df86e60ae14e60994d8b167358 100644
--- a/runtime/vm/intermediate_language.cc
+++ b/runtime/vm/intermediate_language.cc
@@ -360,6 +360,13 @@ bool MathMinMaxInstr::AttributesEqual(Instruction* other) const {
}
+bool CheckedSmiOpInstr::AttributesEqual(Instruction* other) const {
+ ASSERT(other->tag() == tag());
+ BinaryIntegerOpInstr* other_op = other->AsBinaryIntegerOp();
Vyacheslav Egorov (Google) 2016/03/04 13:30:36 BinaryIntegerOp -> CheckedSmiOp Though I don't th
Florian Schneider 2016/03/04 16:55:09 Done. Removed.
+ return op_kind() == other_op->op_kind();
+}
+
+
bool BinaryIntegerOpInstr::AttributesEqual(Instruction* other) const {
ASSERT(other->tag() == tag());
BinaryIntegerOpInstr* other_op = other->AsBinaryIntegerOp();

Powered by Google App Engine
This is Rietveld 408576698