| 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 1720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1731 return AssignEnvironment(new(zone()) LCheckSmi(value)); | 1731 return AssignEnvironment(new(zone()) LCheckSmi(value)); |
| 1732 } | 1732 } |
| 1733 | 1733 |
| 1734 | 1734 |
| 1735 LInstruction* LChunkBuilder::DoCheckFunction(HCheckFunction* instr) { | 1735 LInstruction* LChunkBuilder::DoCheckFunction(HCheckFunction* instr) { |
| 1736 LOperand* value = UseRegisterAtStart(instr->value()); | 1736 LOperand* value = UseRegisterAtStart(instr->value()); |
| 1737 return AssignEnvironment(new(zone()) LCheckFunction(value)); | 1737 return AssignEnvironment(new(zone()) LCheckFunction(value)); |
| 1738 } | 1738 } |
| 1739 | 1739 |
| 1740 | 1740 |
| 1741 LInstruction* LChunkBuilder::DoCheckMap(HCheckMap* instr) { | 1741 LInstruction* LChunkBuilder::DoCheckMaps(HCheckMaps* instr) { |
| 1742 LOperand* value = UseRegisterAtStart(instr->value()); | 1742 LOperand* value = UseRegisterAtStart(instr->value()); |
| 1743 LInstruction* result = new(zone()) LCheckMap(value); | 1743 LInstruction* result = new(zone()) LCheckMaps(value); |
| 1744 return AssignEnvironment(result); | 1744 return AssignEnvironment(result); |
| 1745 } | 1745 } |
| 1746 | 1746 |
| 1747 | 1747 |
| 1748 LInstruction* LChunkBuilder::DoClampToUint8(HClampToUint8* instr) { | 1748 LInstruction* LChunkBuilder::DoClampToUint8(HClampToUint8* instr) { |
| 1749 HValue* value = instr->value(); | 1749 HValue* value = instr->value(); |
| 1750 Representation input_rep = value->representation(); | 1750 Representation input_rep = value->representation(); |
| 1751 LOperand* reg = UseRegister(value); | 1751 LOperand* reg = UseRegister(value); |
| 1752 if (input_rep.IsDouble()) { | 1752 if (input_rep.IsDouble()) { |
| 1753 return DefineAsRegister(new(zone()) LClampDToUint8(reg, FixedTemp(d11))); | 1753 return DefineAsRegister(new(zone()) LClampDToUint8(reg, FixedTemp(d11))); |
| (...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2300 | 2300 |
| 2301 | 2301 |
| 2302 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2302 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2303 LOperand* object = UseRegister(instr->object()); | 2303 LOperand* object = UseRegister(instr->object()); |
| 2304 LOperand* index = UseRegister(instr->index()); | 2304 LOperand* index = UseRegister(instr->index()); |
| 2305 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2305 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
| 2306 } | 2306 } |
| 2307 | 2307 |
| 2308 | 2308 |
| 2309 } } // namespace v8::internal | 2309 } } // namespace v8::internal |
| OLD | NEW |