| 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 1866 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1877 } | 1877 } |
| 1878 | 1878 |
| 1879 | 1879 |
| 1880 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( | 1880 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( |
| 1881 HBoundsCheckBaseIndexInformation* instr) { | 1881 HBoundsCheckBaseIndexInformation* instr) { |
| 1882 UNREACHABLE(); | 1882 UNREACHABLE(); |
| 1883 return NULL; | 1883 return NULL; |
| 1884 } | 1884 } |
| 1885 | 1885 |
| 1886 | 1886 |
| 1887 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { | |
| 1888 // The control instruction marking the end of a block that completed | |
| 1889 // abruptly (e.g., threw an exception). There is nothing specific to do. | |
| 1890 return NULL; | |
| 1891 } | |
| 1892 | |
| 1893 | |
| 1894 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { | 1887 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { |
| 1895 LOperand* value = UseFixed(instr->value(), r0); | 1888 LOperand* value = UseFixed(instr->value(), r0); |
| 1896 return MarkAsCall(new(zone()) LThrow(value), instr); | 1889 return MarkAsCall(new(zone()) LThrow(value), instr); |
| 1897 } | 1890 } |
| 1898 | 1891 |
| 1899 | 1892 |
| 1900 LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { | 1893 LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { |
| 1901 return NULL; | 1894 return NULL; |
| 1902 } | 1895 } |
| 1903 | 1896 |
| (...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2646 | 2639 |
| 2647 | 2640 |
| 2648 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2641 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2649 LOperand* object = UseRegister(instr->object()); | 2642 LOperand* object = UseRegister(instr->object()); |
| 2650 LOperand* index = UseRegister(instr->index()); | 2643 LOperand* index = UseRegister(instr->index()); |
| 2651 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2644 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
| 2652 } | 2645 } |
| 2653 | 2646 |
| 2654 | 2647 |
| 2655 } } // namespace v8::internal | 2648 } } // namespace v8::internal |
| OLD | NEW |