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

Unified Diff: runtime/vm/intermediate_language.cc

Issue 10968059: Support for unboxed 64-bit integer bitwise operations and equality on ia32. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: fixed boxing of smis and added one more test Created 8 years, 3 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 12765)
+++ runtime/vm/intermediate_language.cc (working copy)
@@ -1203,12 +1203,12 @@
}
-RawAbstractType* BinaryMintOpInstr::CompileType() const {
+RawAbstractType* UnboxedMintBinaryOpInstr::CompileType() const {
return Type::MintType();
}
-intptr_t BinaryMintOpInstr::ResultCid() const {
+intptr_t UnboxedMintBinaryOpInstr::ResultCid() const {
return kMintCid;
}
@@ -1238,6 +1238,26 @@
}
+intptr_t BoxIntegerInstr::ResultCid() const {
+ return kIntegerCid;
+}
+
+
+RawAbstractType* BoxIntegerInstr::CompileType() const {
+ return Type::IntType();
+}
+
+
+intptr_t UnboxIntegerInstr::ResultCid() const {
+ return kIntegerCid;
+}
+
+
+RawAbstractType* UnboxIntegerInstr::CompileType() const {
+ return Type::null();
+}
+
+
RawAbstractType* UnarySmiOpInstr::CompileType() const {
return Type::SmiType();
}

Powered by Google App Engine
This is Rietveld 408576698