Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index 04e9d246a93ed15dde8d2f325359a28eec8be02c..a13fbb11be7ad8818974da0b14a165e4da5abfa7 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -1648,6 +1648,23 @@ LInstruction* LChunkBuilder::DoValueOf(HValueOf* instr) { |
} |
+LInstruction* LChunkBuilder::DoDateField(HDateField* instr) { |
+ LOperand* date = UseRegister(instr->value()); |
+ LDateField* result = |
+ new(zone()) LDateField(date, TempRegister(), instr->index()); |
+ return DefineSameAsFirst(result); |
+} |
+ |
+ |
+LInstruction* LChunkBuilder::DoSetDateField(HSetDateField* instr) { |
+ LOperand* date = UseRegister(instr->OperandAt(1)); |
+ LOperand* value = UseRegister(instr->OperandAt(2)); |
+ LSetDateField* result = |
+ new(zone()) LSetDateField(date, value, TempRegister(), instr->index()); |
+ return DefineAsRegister(result); |
+} |
+ |
+ |
LInstruction* LChunkBuilder::DoBoundsCheck(HBoundsCheck* instr) { |
return AssignEnvironment(new(zone()) LBoundsCheck( |
UseRegisterOrConstantAtStart(instr->index()), |