| 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 1722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1733 return AssignEnvironment(new(zone()) LCheckSmi(value)); | 1733 return AssignEnvironment(new(zone()) LCheckSmi(value)); |
| 1734 } | 1734 } |
| 1735 | 1735 |
| 1736 | 1736 |
| 1737 LInstruction* LChunkBuilder::DoCheckFunction(HCheckFunction* instr) { | 1737 LInstruction* LChunkBuilder::DoCheckFunction(HCheckFunction* instr) { |
| 1738 LOperand* value = UseRegisterAtStart(instr->value()); | 1738 LOperand* value = UseRegisterAtStart(instr->value()); |
| 1739 return AssignEnvironment(new(zone()) LCheckFunction(value)); | 1739 return AssignEnvironment(new(zone()) LCheckFunction(value)); |
| 1740 } | 1740 } |
| 1741 | 1741 |
| 1742 | 1742 |
| 1743 LInstruction* LChunkBuilder::DoCheckMap(HCheckMap* instr) { | 1743 LInstruction* LChunkBuilder::DoCheckMaps(HCheckMaps* instr) { |
| 1744 LOperand* value = UseRegisterAtStart(instr->value()); | 1744 LOperand* value = UseRegisterAtStart(instr->value()); |
| 1745 LInstruction* result = new(zone()) LCheckMap(value); | 1745 LInstruction* result = new(zone()) LCheckMaps(value); |
| 1746 return AssignEnvironment(result); | 1746 return AssignEnvironment(result); |
| 1747 } | 1747 } |
| 1748 | 1748 |
| 1749 | 1749 |
| 1750 LInstruction* LChunkBuilder::DoClampToUint8(HClampToUint8* instr) { | 1750 LInstruction* LChunkBuilder::DoClampToUint8(HClampToUint8* instr) { |
| 1751 HValue* value = instr->value(); | 1751 HValue* value = instr->value(); |
| 1752 Representation input_rep = value->representation(); | 1752 Representation input_rep = value->representation(); |
| 1753 LOperand* reg = UseRegister(value); | 1753 LOperand* reg = UseRegister(value); |
| 1754 if (input_rep.IsDouble()) { | 1754 if (input_rep.IsDouble()) { |
| 1755 // Revisit this decision, here and 8 lines below. | 1755 // Revisit this decision, here and 8 lines below. |
| (...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2306 | 2306 |
| 2307 | 2307 |
| 2308 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2308 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2309 LOperand* object = UseRegister(instr->object()); | 2309 LOperand* object = UseRegister(instr->object()); |
| 2310 LOperand* index = UseRegister(instr->index()); | 2310 LOperand* index = UseRegister(instr->index()); |
| 2311 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2311 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
| 2312 } | 2312 } |
| 2313 | 2313 |
| 2314 | 2314 |
| 2315 } } // namespace v8::internal | 2315 } } // namespace v8::internal |
| OLD | NEW |