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