OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 1645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1656 return NULL; | 1656 return NULL; |
1657 } | 1657 } |
1658 | 1658 |
1659 | 1659 |
1660 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { | 1660 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { |
1661 LOperand* value = UseFixed(instr->value(), eax); | 1661 LOperand* value = UseFixed(instr->value(), eax); |
1662 return MarkAsCall(new LThrow(value), instr); | 1662 return MarkAsCall(new LThrow(value), instr); |
1663 } | 1663 } |
1664 | 1664 |
1665 | 1665 |
| 1666 LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { |
| 1667 return NULL; |
| 1668 } |
| 1669 |
| 1670 |
1666 LInstruction* LChunkBuilder::DoForceRepresentation(HForceRepresentation* bad) { | 1671 LInstruction* LChunkBuilder::DoForceRepresentation(HForceRepresentation* bad) { |
1667 // All HForceRepresentation instructions should be eliminated in the | 1672 // All HForceRepresentation instructions should be eliminated in the |
1668 // representation change phase of Hydrogen. | 1673 // representation change phase of Hydrogen. |
1669 UNREACHABLE(); | 1674 UNREACHABLE(); |
1670 return NULL; | 1675 return NULL; |
1671 } | 1676 } |
1672 | 1677 |
1673 | 1678 |
1674 LInstruction* LChunkBuilder::DoChange(HChange* instr) { | 1679 LInstruction* LChunkBuilder::DoChange(HChange* instr) { |
1675 Representation from = instr->from(); | 1680 Representation from = instr->from(); |
(...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2281 LOperand* key = UseOrConstantAtStart(instr->key()); | 2286 LOperand* key = UseOrConstantAtStart(instr->key()); |
2282 LOperand* object = UseOrConstantAtStart(instr->object()); | 2287 LOperand* object = UseOrConstantAtStart(instr->object()); |
2283 LIn* result = new LIn(key, object); | 2288 LIn* result = new LIn(key, object); |
2284 return MarkAsCall(DefineFixed(result, eax), instr); | 2289 return MarkAsCall(DefineFixed(result, eax), instr); |
2285 } | 2290 } |
2286 | 2291 |
2287 | 2292 |
2288 } } // namespace v8::internal | 2293 } } // namespace v8::internal |
2289 | 2294 |
2290 #endif // V8_TARGET_ARCH_IA32 | 2295 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |