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

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

Issue 10692192: MIPS: Swap bitfield3 and backpointer. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 5 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') | src/mips/macro-assembler-mips.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 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 2182 matching lines...) Expand 10 before | Expand all | Expand 10 after
2193 2193
2194 LInstruction* LChunkBuilder::DoForInPrepareMap(HForInPrepareMap* instr) { 2194 LInstruction* LChunkBuilder::DoForInPrepareMap(HForInPrepareMap* instr) {
2195 LOperand* object = UseFixed(instr->enumerable(), a0); 2195 LOperand* object = UseFixed(instr->enumerable(), a0);
2196 LForInPrepareMap* result = new(zone()) LForInPrepareMap(object); 2196 LForInPrepareMap* result = new(zone()) LForInPrepareMap(object);
2197 return MarkAsCall(DefineFixed(result, v0), instr, CAN_DEOPTIMIZE_EAGERLY); 2197 return MarkAsCall(DefineFixed(result, v0), instr, CAN_DEOPTIMIZE_EAGERLY);
2198 } 2198 }
2199 2199
2200 2200
2201 LInstruction* LChunkBuilder::DoForInCacheArray(HForInCacheArray* instr) { 2201 LInstruction* LChunkBuilder::DoForInCacheArray(HForInCacheArray* instr) {
2202 LOperand* map = UseRegister(instr->map()); 2202 LOperand* map = UseRegister(instr->map());
2203 LOperand* scratch = TempRegister();
2203 return AssignEnvironment(DefineAsRegister( 2204 return AssignEnvironment(DefineAsRegister(
2204 new(zone()) LForInCacheArray(map))); 2205 new(zone()) LForInCacheArray(map, scratch)));
2205 } 2206 }
2206 2207
2207 2208
2208 LInstruction* LChunkBuilder::DoCheckMapValue(HCheckMapValue* instr) { 2209 LInstruction* LChunkBuilder::DoCheckMapValue(HCheckMapValue* instr) {
2209 LOperand* value = UseRegisterAtStart(instr->value()); 2210 LOperand* value = UseRegisterAtStart(instr->value());
2210 LOperand* map = UseRegisterAtStart(instr->map()); 2211 LOperand* map = UseRegisterAtStart(instr->map());
2211 return AssignEnvironment(new(zone()) LCheckMapValue(value, map)); 2212 return AssignEnvironment(new(zone()) LCheckMapValue(value, map));
2212 } 2213 }
2213 2214
2214 2215
2215 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2216 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2216 LOperand* object = UseRegister(instr->object()); 2217 LOperand* object = UseRegister(instr->object());
2217 LOperand* index = UseRegister(instr->index()); 2218 LOperand* index = UseRegister(instr->index());
2218 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); 2219 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index));
2219 } 2220 }
2220 2221
2221 2222
2222 } } // namespace v8::internal 2223 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/mips/lithium-mips.h ('k') | src/mips/macro-assembler-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698