| 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 1704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1715 return AssignEnvironment(new(zone()) LCheckSmi(value)); | 1715 return AssignEnvironment(new(zone()) LCheckSmi(value)); |
| 1716 } | 1716 } |
| 1717 | 1717 |
| 1718 | 1718 |
| 1719 LInstruction* LChunkBuilder::DoCheckFunction(HCheckFunction* instr) { | 1719 LInstruction* LChunkBuilder::DoCheckFunction(HCheckFunction* instr) { |
| 1720 LOperand* value = UseRegisterAtStart(instr->value()); | 1720 LOperand* value = UseRegisterAtStart(instr->value()); |
| 1721 return AssignEnvironment(new(zone()) LCheckFunction(value)); | 1721 return AssignEnvironment(new(zone()) LCheckFunction(value)); |
| 1722 } | 1722 } |
| 1723 | 1723 |
| 1724 | 1724 |
| 1725 LInstruction* LChunkBuilder::DoCheckMap(HCheckMap* instr) { | 1725 LInstruction* LChunkBuilder::DoCheckMaps(HCheckMaps* instr) { |
| 1726 LOperand* value = UseRegisterAtStart(instr->value()); | 1726 LOperand* value = UseRegisterAtStart(instr->value()); |
| 1727 LCheckMap* result = new(zone()) LCheckMap(value); | 1727 LCheckMaps* result = new(zone()) LCheckMaps(value); |
| 1728 return AssignEnvironment(result); | 1728 return AssignEnvironment(result); |
| 1729 } | 1729 } |
| 1730 | 1730 |
| 1731 | 1731 |
| 1732 LInstruction* LChunkBuilder::DoClampToUint8(HClampToUint8* instr) { | 1732 LInstruction* LChunkBuilder::DoClampToUint8(HClampToUint8* instr) { |
| 1733 HValue* value = instr->value(); | 1733 HValue* value = instr->value(); |
| 1734 Representation input_rep = value->representation(); | 1734 Representation input_rep = value->representation(); |
| 1735 LOperand* reg = UseRegister(value); | 1735 LOperand* reg = UseRegister(value); |
| 1736 if (input_rep.IsDouble()) { | 1736 if (input_rep.IsDouble()) { |
| 1737 return DefineAsRegister(new(zone()) LClampDToUint8(reg, | 1737 return DefineAsRegister(new(zone()) LClampDToUint8(reg, |
| (...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2301 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2301 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2302 LOperand* object = UseRegister(instr->object()); | 2302 LOperand* object = UseRegister(instr->object()); |
| 2303 LOperand* index = UseTempRegister(instr->index()); | 2303 LOperand* index = UseTempRegister(instr->index()); |
| 2304 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); | 2304 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); |
| 2305 } | 2305 } |
| 2306 | 2306 |
| 2307 | 2307 |
| 2308 } } // namespace v8::internal | 2308 } } // namespace v8::internal |
| 2309 | 2309 |
| 2310 #endif // V8_TARGET_ARCH_X64 | 2310 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |