| 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 1882 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1893 } | 1893 } |
| 1894 | 1894 |
| 1895 | 1895 |
| 1896 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( | 1896 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( |
| 1897 HBoundsCheckBaseIndexInformation* instr) { | 1897 HBoundsCheckBaseIndexInformation* instr) { |
| 1898 UNREACHABLE(); | 1898 UNREACHABLE(); |
| 1899 return NULL; | 1899 return NULL; |
| 1900 } | 1900 } |
| 1901 | 1901 |
| 1902 | 1902 |
| 1903 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { | |
| 1904 // The control instruction marking the end of a block that completed | |
| 1905 // abruptly (e.g., threw an exception). There is nothing specific to do. | |
| 1906 return NULL; | |
| 1907 } | |
| 1908 | |
| 1909 | |
| 1910 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { | 1903 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { |
| 1911 LOperand* context = UseFixed(instr->context(), esi); | 1904 LOperand* context = UseFixed(instr->context(), esi); |
| 1912 LOperand* value = UseFixed(instr->value(), eax); | 1905 LOperand* value = UseFixed(instr->value(), eax); |
| 1913 return MarkAsCall(new(zone()) LThrow(context, value), instr); | 1906 return MarkAsCall(new(zone()) LThrow(context, value), instr); |
| 1914 } | 1907 } |
| 1915 | 1908 |
| 1916 | 1909 |
| 1917 LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { | 1910 LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { |
| 1918 return NULL; | 1911 return NULL; |
| 1919 } | 1912 } |
| (...skipping 874 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2794 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2787 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2795 LOperand* object = UseRegister(instr->object()); | 2788 LOperand* object = UseRegister(instr->object()); |
| 2796 LOperand* index = UseTempRegister(instr->index()); | 2789 LOperand* index = UseTempRegister(instr->index()); |
| 2797 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); | 2790 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); |
| 2798 } | 2791 } |
| 2799 | 2792 |
| 2800 | 2793 |
| 2801 } } // namespace v8::internal | 2794 } } // namespace v8::internal |
| 2802 | 2795 |
| 2803 #endif // V8_TARGET_ARCH_IA32 | 2796 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |