| 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 1862 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1873 } | 1873 } |
| 1874 | 1874 |
| 1875 | 1875 |
| 1876 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( | 1876 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( |
| 1877 HBoundsCheckBaseIndexInformation* instr) { | 1877 HBoundsCheckBaseIndexInformation* instr) { |
| 1878 UNREACHABLE(); | 1878 UNREACHABLE(); |
| 1879 return NULL; | 1879 return NULL; |
| 1880 } | 1880 } |
| 1881 | 1881 |
| 1882 | 1882 |
| 1883 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { | |
| 1884 // The control instruction marking the end of a block that completed | |
| 1885 // abruptly (e.g., threw an exception). There is nothing specific to do. | |
| 1886 return NULL; | |
| 1887 } | |
| 1888 | |
| 1889 | |
| 1890 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { | 1883 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { |
| 1891 LOperand* context = UseFixed(instr->context(), esi); | 1884 LOperand* context = UseFixed(instr->context(), esi); |
| 1892 LOperand* value = UseFixed(instr->value(), eax); | 1885 LOperand* value = UseFixed(instr->value(), eax); |
| 1893 return MarkAsCall(new(zone()) LThrow(context, value), instr); | 1886 return MarkAsCall(new(zone()) LThrow(context, value), instr); |
| 1894 } | 1887 } |
| 1895 | 1888 |
| 1896 | 1889 |
| 1897 LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { | 1890 LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { |
| 1898 return NULL; | 1891 return NULL; |
| 1899 } | 1892 } |
| (...skipping 833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2733 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2726 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2734 LOperand* object = UseRegister(instr->object()); | 2727 LOperand* object = UseRegister(instr->object()); |
| 2735 LOperand* index = UseTempRegister(instr->index()); | 2728 LOperand* index = UseTempRegister(instr->index()); |
| 2736 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); | 2729 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); |
| 2737 } | 2730 } |
| 2738 | 2731 |
| 2739 | 2732 |
| 2740 } } // namespace v8::internal | 2733 } } // namespace v8::internal |
| 2741 | 2734 |
| 2742 #endif // V8_TARGET_ARCH_IA32 | 2735 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |