| 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 1915 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1926 LOperand* value = UseRegisterAtStart(instr->value()); | 1926 LOperand* value = UseRegisterAtStart(instr->value()); |
| 1927 LInstruction* result = new(zone()) LCheckInstanceType(value); | 1927 LInstruction* result = new(zone()) LCheckInstanceType(value); |
| 1928 return AssignEnvironment(result); | 1928 return AssignEnvironment(result); |
| 1929 } | 1929 } |
| 1930 | 1930 |
| 1931 | 1931 |
| 1932 LInstruction* LChunkBuilder::DoCheckPrototypeMaps(HCheckPrototypeMaps* instr) { | 1932 LInstruction* LChunkBuilder::DoCheckPrototypeMaps(HCheckPrototypeMaps* instr) { |
| 1933 LUnallocated* temp1 = TempRegister(); | 1933 LUnallocated* temp1 = TempRegister(); |
| 1934 LOperand* temp2 = TempRegister(); | 1934 LOperand* temp2 = TempRegister(); |
| 1935 LCheckPrototypeMaps* result = new(zone()) LCheckPrototypeMaps(temp1, temp2); | 1935 LCheckPrototypeMaps* result = new(zone()) LCheckPrototypeMaps(temp1, temp2); |
| 1936 return AssignEnvironment(Define(result, temp1)); | 1936 return AssignEnvironment(result); |
| 1937 } | 1937 } |
| 1938 | 1938 |
| 1939 | 1939 |
| 1940 LInstruction* LChunkBuilder::DoCheckSmi(HCheckSmi* instr) { | 1940 LInstruction* LChunkBuilder::DoCheckSmi(HCheckSmi* instr) { |
| 1941 LOperand* value = UseRegisterAtStart(instr->value()); | 1941 LOperand* value = UseRegisterAtStart(instr->value()); |
| 1942 return AssignEnvironment(new(zone()) LCheckSmi(value)); | 1942 return AssignEnvironment(new(zone()) LCheckSmi(value)); |
| 1943 } | 1943 } |
| 1944 | 1944 |
| 1945 | 1945 |
| 1946 LInstruction* LChunkBuilder::DoCheckSmiOrInt32(HCheckSmiOrInt32* instr) { | 1946 LInstruction* LChunkBuilder::DoCheckSmiOrInt32(HCheckSmiOrInt32* instr) { |
| (...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2565 | 2565 |
| 2566 | 2566 |
| 2567 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2567 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2568 LOperand* object = UseRegister(instr->object()); | 2568 LOperand* object = UseRegister(instr->object()); |
| 2569 LOperand* index = UseRegister(instr->index()); | 2569 LOperand* index = UseRegister(instr->index()); |
| 2570 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2570 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
| 2571 } | 2571 } |
| 2572 | 2572 |
| 2573 | 2573 |
| 2574 } } // namespace v8::internal | 2574 } } // namespace v8::internal |
| OLD | NEW |