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 1615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1626 return NULL; | 1626 return NULL; |
1627 } | 1627 } |
1628 | 1628 |
1629 | 1629 |
1630 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { | 1630 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { |
1631 LOperand* value = UseFixed(instr->value(), r0); | 1631 LOperand* value = UseFixed(instr->value(), r0); |
1632 return MarkAsCall(new LThrow(value), instr); | 1632 return MarkAsCall(new LThrow(value), instr); |
1633 } | 1633 } |
1634 | 1634 |
1635 | 1635 |
| 1636 LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { |
| 1637 return NULL; |
| 1638 } |
| 1639 |
| 1640 |
1636 LInstruction* LChunkBuilder::DoForceRepresentation(HForceRepresentation* bad) { | 1641 LInstruction* LChunkBuilder::DoForceRepresentation(HForceRepresentation* bad) { |
1637 // All HForceRepresentation instructions should be eliminated in the | 1642 // All HForceRepresentation instructions should be eliminated in the |
1638 // representation change phase of Hydrogen. | 1643 // representation change phase of Hydrogen. |
1639 UNREACHABLE(); | 1644 UNREACHABLE(); |
1640 return NULL; | 1645 return NULL; |
1641 } | 1646 } |
1642 | 1647 |
1643 | 1648 |
1644 LInstruction* LChunkBuilder::DoChange(HChange* instr) { | 1649 LInstruction* LChunkBuilder::DoChange(HChange* instr) { |
1645 Representation from = instr->from(); | 1650 Representation from = instr->from(); |
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2222 | 2227 |
2223 LInstruction* LChunkBuilder::DoIn(HIn* instr) { | 2228 LInstruction* LChunkBuilder::DoIn(HIn* instr) { |
2224 LOperand* key = UseRegisterAtStart(instr->key()); | 2229 LOperand* key = UseRegisterAtStart(instr->key()); |
2225 LOperand* object = UseRegisterAtStart(instr->object()); | 2230 LOperand* object = UseRegisterAtStart(instr->object()); |
2226 LIn* result = new LIn(key, object); | 2231 LIn* result = new LIn(key, object); |
2227 return MarkAsCall(DefineFixed(result, r0), instr); | 2232 return MarkAsCall(DefineFixed(result, r0), instr); |
2228 } | 2233 } |
2229 | 2234 |
2230 | 2235 |
2231 } } // namespace v8::internal | 2236 } } // namespace v8::internal |
OLD | NEW |