Index: src/hydrogen-instructions.h |
=================================================================== |
--- src/hydrogen-instructions.h (revision 8139) |
+++ src/hydrogen-instructions.h (working copy) |
@@ -146,6 +146,7 @@ |
V(Shl) \ |
V(Shr) \ |
V(Simulate) \ |
+ V(SoftDeoptimize) \ |
V(StackCheck) \ |
V(StoreContextSlot) \ |
V(StoreGlobalCell) \ |
@@ -847,6 +848,16 @@ |
}; |
+class HSoftDeoptimize: public HTemplateInstruction<0> { |
+ public: |
+ virtual Representation RequiredInputRepresentation(int index) const { |
+ return Representation::None(); |
+ } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(SoftDeoptimize) |
+}; |
+ |
+ |
class HDeoptimize: public HControlInstruction { |
public: |
explicit HDeoptimize(int environment_length) |
@@ -859,6 +870,7 @@ |
virtual int OperandCount() { return values_.length(); } |
virtual HValue* OperandAt(int index) { return values_[index]; } |
+ virtual void PrintDataTo(StringStream* stream); |
void AddEnvironmentValue(HValue* value) { |
values_.Add(NULL); |