Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index fe23709a8d8aa9e456acf63904731855fa23876b..de016f27b87ea79173a393d1ab8b3b03b1ac2d1c 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -711,6 +711,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); |
} |