| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 1651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1662 LOperand* object = UseFixed(instr->value(), r0); | 1662 LOperand* object = UseFixed(instr->value(), r0); |
| 1663 LDateField* result = | 1663 LDateField* result = |
| 1664 new(zone()) LDateField(object, FixedTemp(r1), instr->index()); | 1664 new(zone()) LDateField(object, FixedTemp(r1), instr->index()); |
| 1665 return MarkAsCall(DefineFixed(result, r0), instr); | 1665 return MarkAsCall(DefineFixed(result, r0), instr); |
| 1666 } | 1666 } |
| 1667 | 1667 |
| 1668 | 1668 |
| 1669 LInstruction* LChunkBuilder::DoBoundsCheck(HBoundsCheck* instr) { | 1669 LInstruction* LChunkBuilder::DoBoundsCheck(HBoundsCheck* instr) { |
| 1670 LOperand* value = UseRegisterAtStart(instr->index()); | 1670 LOperand* value = UseRegisterAtStart(instr->index()); |
| 1671 LOperand* length = UseRegister(instr->length()); | 1671 LOperand* length = UseRegister(instr->length()); |
| 1672 if (instr->lower_offset() != 0 || instr->upper_offset() != 0) { |
| 1673 UNIMPLEMENTED(); |
| 1674 } |
| 1672 return AssignEnvironment(new(zone()) LBoundsCheck(value, length)); | 1675 return AssignEnvironment(new(zone()) LBoundsCheck(value, length)); |
| 1673 } | 1676 } |
| 1674 | 1677 |
| 1675 | 1678 |
| 1676 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { | 1679 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { |
| 1677 // The control instruction marking the end of a block that completed | 1680 // The control instruction marking the end of a block that completed |
| 1678 // abruptly (e.g., threw an exception). There is nothing specific to do. | 1681 // abruptly (e.g., threw an exception). There is nothing specific to do. |
| 1679 return NULL; | 1682 return NULL; |
| 1680 } | 1683 } |
| 1681 | 1684 |
| (...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2394 | 2397 |
| 2395 | 2398 |
| 2396 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2399 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2397 LOperand* object = UseRegister(instr->object()); | 2400 LOperand* object = UseRegister(instr->object()); |
| 2398 LOperand* index = UseRegister(instr->index()); | 2401 LOperand* index = UseRegister(instr->index()); |
| 2399 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2402 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
| 2400 } | 2403 } |
| 2401 | 2404 |
| 2402 | 2405 |
| 2403 } } // namespace v8::internal | 2406 } } // namespace v8::internal |
| OLD | NEW |