| 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:
|
|
|