Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: src/mips/lithium-mips.cc

Issue 13636002: MIPS: Remove extranous holder load in some prototype-chain checking cases (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/mips/lithium-mips.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/mips/lithium-mips.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698