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 1854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1865 } | 1865 } |
1866 | 1866 |
1867 | 1867 |
1868 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( | 1868 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( |
1869 HBoundsCheckBaseIndexInformation* instr) { | 1869 HBoundsCheckBaseIndexInformation* instr) { |
1870 UNREACHABLE(); | 1870 UNREACHABLE(); |
1871 return NULL; | 1871 return NULL; |
1872 } | 1872 } |
1873 | 1873 |
1874 | 1874 |
1875 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { | |
1876 // The control instruction marking the end of a block that completed | |
1877 // abruptly (e.g., threw an exception). There is nothing specific to do. | |
1878 return NULL; | |
1879 } | |
1880 | |
1881 | |
1882 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { | 1875 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { |
1883 LOperand* value = UseFixed(instr->value(), r0); | 1876 LOperand* value = UseFixed(instr->value(), r0); |
1884 return MarkAsCall(new(zone()) LThrow(value), instr); | 1877 return MarkAsCall(new(zone()) LThrow(value), instr); |
1885 } | 1878 } |
1886 | 1879 |
1887 | 1880 |
1888 LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { | 1881 LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { |
1889 return NULL; | 1882 return NULL; |
1890 } | 1883 } |
1891 | 1884 |
(...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2590 | 2583 |
2591 | 2584 |
2592 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2585 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
2593 LOperand* object = UseRegister(instr->object()); | 2586 LOperand* object = UseRegister(instr->object()); |
2594 LOperand* index = UseRegister(instr->index()); | 2587 LOperand* index = UseRegister(instr->index()); |
2595 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2588 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
2596 } | 2589 } |
2597 | 2590 |
2598 | 2591 |
2599 } } // namespace v8::internal | 2592 } } // namespace v8::internal |
OLD | NEW |