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

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

Issue 6221003: Use HIR accessor for CheckPrototypeMaps to remove the duplicate members in li... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 11 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/arm/lithium-arm.h ('k') | src/ia32/lithium-ia32.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 1581 matching lines...) Expand 10 before | Expand all | Expand 10 after
1592 LInstruction* LChunkBuilder::DoCheckInstanceType(HCheckInstanceType* instr) { 1592 LInstruction* LChunkBuilder::DoCheckInstanceType(HCheckInstanceType* instr) {
1593 LOperand* value = UseRegisterAtStart(instr->value()); 1593 LOperand* value = UseRegisterAtStart(instr->value());
1594 LInstruction* result = new LCheckInstanceType(value); 1594 LInstruction* result = new LCheckInstanceType(value);
1595 return AssignEnvironment(result); 1595 return AssignEnvironment(result);
1596 } 1596 }
1597 1597
1598 1598
1599 LInstruction* LChunkBuilder::DoCheckPrototypeMaps(HCheckPrototypeMaps* instr) { 1599 LInstruction* LChunkBuilder::DoCheckPrototypeMaps(HCheckPrototypeMaps* instr) {
1600 LOperand* temp1 = TempRegister(); 1600 LOperand* temp1 = TempRegister();
1601 LOperand* temp2 = TempRegister(); 1601 LOperand* temp2 = TempRegister();
1602 LInstruction* result = 1602 LInstruction* result = new LCheckPrototypeMaps(temp1, temp2);
1603 new LCheckPrototypeMaps(temp1,
1604 temp2,
1605 instr->holder(),
1606 instr->receiver_map());
1607 return AssignEnvironment(result); 1603 return AssignEnvironment(result);
1608 } 1604 }
1609 1605
1610 1606
1611 LInstruction* LChunkBuilder::DoCheckSmi(HCheckSmi* instr) { 1607 LInstruction* LChunkBuilder::DoCheckSmi(HCheckSmi* instr) {
1612 LOperand* value = UseRegisterAtStart(instr->value()); 1608 LOperand* value = UseRegisterAtStart(instr->value());
1613 return AssignEnvironment(new LCheckSmi(value, ne)); 1609 return AssignEnvironment(new LCheckSmi(value, ne));
1614 } 1610 }
1615 1611
1616 1612
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
1913 void LPointerMap::PrintTo(StringStream* stream) const { 1909 void LPointerMap::PrintTo(StringStream* stream) const {
1914 stream->Add("{"); 1910 stream->Add("{");
1915 for (int i = 0; i < pointer_operands_.length(); ++i) { 1911 for (int i = 0; i < pointer_operands_.length(); ++i) {
1916 if (i != 0) stream->Add(";"); 1912 if (i != 0) stream->Add(";");
1917 pointer_operands_[i]->PrintTo(stream); 1913 pointer_operands_[i]->PrintTo(stream);
1918 } 1914 }
1919 stream->Add("} @%d", position()); 1915 stream->Add("} @%d", position());
1920 } 1916 }
1921 1917
1922 } } // namespace v8::internal 1918 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.h ('k') | src/ia32/lithium-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698