Index: runtime/vm/intermediate_language.h |
=================================================================== |
--- runtime/vm/intermediate_language.h (revision 33072) |
+++ runtime/vm/intermediate_language.h (working copy) |
@@ -645,7 +645,6 @@ |
M(BooleanNegate) \ |
M(InstanceOf) \ |
M(CreateArray) \ |
- M(CreateClosure) \ |
M(AllocateObject) \ |
M(LoadField) \ |
M(LoadUntagged) \ |
@@ -3348,6 +3347,8 @@ |
virtual CompileType* ComputeInitialType() const; |
+ virtual void PrintOperandsTo(BufferFormatter* f) const; |
+ |
virtual bool CanDeoptimize() const { return false; } |
virtual EffectSet Effects() const { |
@@ -4142,43 +4143,6 @@ |
}; |
-class CreateClosureInstr : public TemplateDefinition<0> { |
- public: |
- CreateClosureInstr(const Function& function, |
- ZoneGrowableArray<PushArgumentInstr*>* arguments, |
- intptr_t token_pos) |
- : function_(function), |
- arguments_(arguments), |
- token_pos_(token_pos) { } |
- |
- DECLARE_INSTRUCTION(CreateClosure) |
- virtual CompileType ComputeType() const; |
- |
- intptr_t token_pos() const { return token_pos_; } |
- const Function& function() const { return function_; } |
- |
- virtual intptr_t ArgumentCount() const { return arguments_->length(); } |
- virtual PushArgumentInstr* PushArgumentAt(intptr_t index) const { |
- return (*arguments_)[index]; |
- } |
- |
- virtual void PrintOperandsTo(BufferFormatter* f) const; |
- |
- virtual bool CanDeoptimize() const { return false; } |
- |
- virtual EffectSet Effects() const { return EffectSet::None(); } |
- |
- virtual bool MayThrow() const { return false; } |
- |
- private: |
- const Function& function_; |
- ZoneGrowableArray<PushArgumentInstr*>* arguments_; |
- intptr_t token_pos_; |
- |
- DISALLOW_COPY_AND_ASSIGN(CreateClosureInstr); |
-}; |
- |
- |
class LoadUntaggedInstr : public TemplateDefinition<1> { |
public: |
LoadUntaggedInstr(Value* object, intptr_t offset) : offset_(offset) { |