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

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

Issue 11293250: Unbreak MIPS part a bit. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 1 month 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/codegen-mips.cc ('k') | src/mips/stub-cache-mips.cc » ('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 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 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after
1092 instr); 1092 instr);
1093 } 1093 }
1094 1094
1095 1095
1096 LInstruction* LChunkBuilder::DoCallRuntime(HCallRuntime* instr) { 1096 LInstruction* LChunkBuilder::DoCallRuntime(HCallRuntime* instr) {
1097 argument_count_ -= instr->argument_count(); 1097 argument_count_ -= instr->argument_count();
1098 return MarkAsCall(DefineFixed(new(zone()) LCallRuntime, v0), instr); 1098 return MarkAsCall(DefineFixed(new(zone()) LCallRuntime, v0), instr);
1099 } 1099 }
1100 1100
1101 1101
1102 LInstruction* LChunkBuilder::DoRor(HRor* instr) {
1103 return DoShift(Token::ROR, instr);
1104 }
1105
1106
1102 LInstruction* LChunkBuilder::DoShr(HShr* instr) { 1107 LInstruction* LChunkBuilder::DoShr(HShr* instr) {
1103 return DoShift(Token::SHR, instr); 1108 return DoShift(Token::SHR, instr);
1104 } 1109 }
1105 1110
1106 1111
1107 LInstruction* LChunkBuilder::DoSar(HSar* instr) { 1112 LInstruction* LChunkBuilder::DoSar(HSar* instr) {
1108 return DoShift(Token::SAR, instr); 1113 return DoShift(Token::SAR, instr);
1109 } 1114 }
1110 1115
1111 1116
(...skipping 1091 matching lines...) Expand 10 before | Expand all | Expand 10 after
2203 2208
2204 2209
2205 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2210 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2206 LOperand* object = UseRegister(instr->object()); 2211 LOperand* object = UseRegister(instr->object());
2207 LOperand* index = UseRegister(instr->index()); 2212 LOperand* index = UseRegister(instr->index());
2208 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); 2213 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index));
2209 } 2214 }
2210 2215
2211 2216
2212 } } // namespace v8::internal 2217 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/mips/codegen-mips.cc ('k') | src/mips/stub-cache-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698