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

Unified Diff: runtime/vm/intermediate_language.h

Issue 11031024: Remove now unused BinaryMintOp from the IL. (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
« no previous file with comments | « runtime/vm/il_printer.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language.h
===================================================================
--- runtime/vm/intermediate_language.h (revision 13112)
+++ runtime/vm/intermediate_language.h (working copy)
@@ -244,7 +244,6 @@
M(CloneContext) \
M(CatchEntry) \
M(BinarySmiOp) \
- M(BinaryMintOp) \
M(UnarySmiOp) \
M(CheckStackOverflow) \
M(DoubleToDouble) \
@@ -3631,48 +3630,6 @@
};
-class BinaryMintOpInstr : public TemplateDefinition<2> {
- public:
- BinaryMintOpInstr(Token::Kind op_kind,
- InstanceCallInstr* instance_call,
- Value* left,
- Value* right)
- : op_kind_(op_kind),
- instance_call_(instance_call) {
- ASSERT(left != NULL);
- ASSERT(right != NULL);
- inputs_[0] = left;
- inputs_[1] = right;
- }
-
- Value* left() const { return inputs_[0]; }
- Value* right() const { return inputs_[1]; }
-
- Token::Kind op_kind() const { return op_kind_; }
-
- InstanceCallInstr* instance_call() const { return instance_call_; }
-
- const ICData* ic_data() const { return instance_call()->ic_data(); }
-
- virtual void PrintOperandsTo(BufferFormatter* f) const;
-
- DECLARE_INSTRUCTION(BinaryMintOp)
- virtual RawAbstractType* CompileType() const;
-
- virtual bool CanDeoptimize() const { return true; }
-
- virtual bool HasSideEffect() const { return false; }
-
- virtual intptr_t ResultCid() const;
-
- private:
- const Token::Kind op_kind_;
- InstanceCallInstr* instance_call_;
-
- DISALLOW_COPY_AND_ASSIGN(BinaryMintOpInstr);
-};
-
-
// Handles both Smi operations: BIT_OR and NEGATE.
class UnarySmiOpInstr : public TemplateDefinition<1> {
public:
« no previous file with comments | « runtime/vm/il_printer.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698