Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index c1f24c9ec64c410b601d097e267f8961bf1819e8..ef05cabfe258907a81187d80386b3d948e0b3986 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -703,6 +703,23 @@ LInstruction* LChunkBuilder::DoSoftDeoptimize(HSoftDeoptimize* instr) { |
} |
+LInstruction* LChunkBuilder::DoDeoptCounter(HDeoptCounter* instr) { |
+ return AssignEnvironment(new(zone()) LDeoptCounter(instr->id(), |
+ instr->initial_value(), |
+ instr->max_value())); |
+} |
+ |
+ |
+LInstruction* LChunkBuilder::DoDeoptCounterAdd(HDeoptCounterAdd* instr) { |
+ LOperand* temp = TempRegister(); |
+ LOperand* temp2 = TempRegister(); |
+ return AssignEnvironment(new(zone()) LDeoptCounterAdd(instr->counter()->id(), |
+ instr->delta(), |
+ temp, |
+ temp2)); |
+} |
+ |
+ |
LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) { |
return AssignEnvironment(new(zone()) LDeoptimize); |
} |