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

Unified Diff: runtime/vm/intermediate_language.h

Issue 10914066: Remove old implementation of binary double operations. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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
« 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 11758)
+++ runtime/vm/intermediate_language.h (working copy)
@@ -90,7 +90,6 @@
M(CatchEntry, CatchEntryComp) \
M(BinarySmiOp, BinarySmiOpComp) \
M(BinaryMintOp, BinaryMintOpComp) \
- M(BinaryDoubleOp, BinaryDoubleOpComp) \
M(UnarySmiOp, UnarySmiOpComp) \
M(NumberNegate, NumberNegateComp) \
M(CheckStackOverflow, CheckStackOverflowComp) \
@@ -1884,34 +1883,6 @@
};
-class BinaryDoubleOpComp : public TemplateComputation<0> {
- public:
- BinaryDoubleOpComp(Token::Kind op_kind, InstanceCallComp* instance_call)
- : op_kind_(op_kind), instance_call_(instance_call) { }
-
- Token::Kind op_kind() const { return op_kind_; }
-
- InstanceCallComp* instance_call() const { return instance_call_; }
-
- const ICData* ic_data() const { return instance_call()->ic_data(); }
-
- virtual void PrintOperandsTo(BufferFormatter* f) const;
-
- DECLARE_CALL_COMPUTATION(BinaryDoubleOp)
-
- virtual intptr_t ArgumentCount() const { return 2; }
-
- virtual bool CanDeoptimize() const { return true; }
- virtual intptr_t ResultCid() const;
-
- private:
- const Token::Kind op_kind_;
- InstanceCallComp* instance_call_;
-
- DISALLOW_COPY_AND_ASSIGN(BinaryDoubleOpComp);
-};
-
-
// Handles both Smi operations: BIT_OR and NEGATE.
class UnarySmiOpComp : public TemplateComputation<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