| 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 1789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1800 LOperand* value = UseRegisterAtStart(instr->value()); | 1800 LOperand* value = UseRegisterAtStart(instr->value()); |
| 1801 LInstruction* result = new(zone()) LCheckInstanceType(value); | 1801 LInstruction* result = new(zone()) LCheckInstanceType(value); |
| 1802 return AssignEnvironment(result); | 1802 return AssignEnvironment(result); |
| 1803 } | 1803 } |
| 1804 | 1804 |
| 1805 | 1805 |
| 1806 LInstruction* LChunkBuilder::DoCheckPrototypeMaps(HCheckPrototypeMaps* instr) { | 1806 LInstruction* LChunkBuilder::DoCheckPrototypeMaps(HCheckPrototypeMaps* instr) { |
| 1807 LUnallocated* temp1 = TempRegister(); | 1807 LUnallocated* temp1 = TempRegister(); |
| 1808 LOperand* temp2 = TempRegister(); | 1808 LOperand* temp2 = TempRegister(); |
| 1809 LCheckPrototypeMaps* result = new(zone()) LCheckPrototypeMaps(temp1, temp2); | 1809 LCheckPrototypeMaps* result = new(zone()) LCheckPrototypeMaps(temp1, temp2); |
| 1810 return AssignEnvironment(Define(result, temp1)); | 1810 return AssignEnvironment(result); |
| 1811 } | 1811 } |
| 1812 | 1812 |
| 1813 | 1813 |
| 1814 LInstruction* LChunkBuilder::DoCheckSmi(HCheckSmi* instr) { | 1814 LInstruction* LChunkBuilder::DoCheckSmi(HCheckSmi* instr) { |
| 1815 LOperand* value = UseRegisterAtStart(instr->value()); | 1815 LOperand* value = UseRegisterAtStart(instr->value()); |
| 1816 return AssignEnvironment(new(zone()) LCheckSmi(value)); | 1816 return AssignEnvironment(new(zone()) LCheckSmi(value)); |
| 1817 } | 1817 } |
| 1818 | 1818 |
| 1819 | 1819 |
| 1820 LInstruction* LChunkBuilder::DoCheckSmiOrInt32(HCheckSmiOrInt32* instr) { | 1820 LInstruction* LChunkBuilder::DoCheckSmiOrInt32(HCheckSmiOrInt32* instr) { |
| (...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2441 | 2441 |
| 2442 | 2442 |
| 2443 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2443 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2444 LOperand* object = UseRegister(instr->object()); | 2444 LOperand* object = UseRegister(instr->object()); |
| 2445 LOperand* index = UseRegister(instr->index()); | 2445 LOperand* index = UseRegister(instr->index()); |
| 2446 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2446 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
| 2447 } | 2447 } |
| 2448 | 2448 |
| 2449 | 2449 |
| 2450 } } // namespace v8::internal | 2450 } } // namespace v8::internal |
| OLD | NEW |