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 1867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1878 } | 1878 } |
1879 | 1879 |
1880 | 1880 |
1881 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( | 1881 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( |
1882 HBoundsCheckBaseIndexInformation* instr) { | 1882 HBoundsCheckBaseIndexInformation* instr) { |
1883 UNREACHABLE(); | 1883 UNREACHABLE(); |
1884 return NULL; | 1884 return NULL; |
1885 } | 1885 } |
1886 | 1886 |
1887 | 1887 |
| 1888 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { |
| 1889 // The control instruction marking the end of a block that completed |
| 1890 // abruptly (e.g., threw an exception). There is nothing specific to do. |
| 1891 return NULL; |
| 1892 } |
| 1893 |
| 1894 |
1888 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { | 1895 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { |
1889 LOperand* value = UseFixed(instr->value(), r0); | 1896 LOperand* value = UseFixed(instr->value(), r0); |
1890 return MarkAsCall(new(zone()) LThrow(value), instr); | 1897 return MarkAsCall(new(zone()) LThrow(value), instr); |
1891 } | 1898 } |
1892 | 1899 |
1893 | 1900 |
1894 LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { | 1901 LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { |
1895 return NULL; | 1902 return NULL; |
1896 } | 1903 } |
1897 | 1904 |
(...skipping 703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2601 | 2608 |
2602 | 2609 |
2603 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2610 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
2604 LOperand* object = UseRegister(instr->object()); | 2611 LOperand* object = UseRegister(instr->object()); |
2605 LOperand* index = UseRegister(instr->index()); | 2612 LOperand* index = UseRegister(instr->index()); |
2606 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2613 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
2607 } | 2614 } |
2608 | 2615 |
2609 | 2616 |
2610 } } // namespace v8::internal | 2617 } } // namespace v8::internal |
OLD | NEW |