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

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

Issue 10692130: Swap bitfield3 and backpointer. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: u 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
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 2363 matching lines...) Expand 10 before | Expand all | Expand 10 after
2374 2374
2375 LInstruction* LChunkBuilder::DoForInPrepareMap(HForInPrepareMap* instr) { 2375 LInstruction* LChunkBuilder::DoForInPrepareMap(HForInPrepareMap* instr) {
2376 LOperand* object = UseFixed(instr->enumerable(), r0); 2376 LOperand* object = UseFixed(instr->enumerable(), r0);
2377 LForInPrepareMap* result = new(zone()) LForInPrepareMap(object); 2377 LForInPrepareMap* result = new(zone()) LForInPrepareMap(object);
2378 return MarkAsCall(DefineFixed(result, r0), instr, CAN_DEOPTIMIZE_EAGERLY); 2378 return MarkAsCall(DefineFixed(result, r0), instr, CAN_DEOPTIMIZE_EAGERLY);
2379 } 2379 }
2380 2380
2381 2381
2382 LInstruction* LChunkBuilder::DoForInCacheArray(HForInCacheArray* instr) { 2382 LInstruction* LChunkBuilder::DoForInCacheArray(HForInCacheArray* instr) {
2383 LOperand* map = UseRegister(instr->map()); 2383 LOperand* map = UseRegister(instr->map());
2384 LOperand* scratch = TempRegister();
2384 return AssignEnvironment(DefineAsRegister( 2385 return AssignEnvironment(DefineAsRegister(
2385 new(zone()) LForInCacheArray(map))); 2386 new(zone()) LForInCacheArray(map, scratch)));
2386 } 2387 }
2387 2388
2388 2389
2389 LInstruction* LChunkBuilder::DoCheckMapValue(HCheckMapValue* instr) { 2390 LInstruction* LChunkBuilder::DoCheckMapValue(HCheckMapValue* instr) {
2390 LOperand* value = UseRegisterAtStart(instr->value()); 2391 LOperand* value = UseRegisterAtStart(instr->value());
2391 LOperand* map = UseRegisterAtStart(instr->map()); 2392 LOperand* map = UseRegisterAtStart(instr->map());
2392 return AssignEnvironment(new(zone()) LCheckMapValue(value, map)); 2393 return AssignEnvironment(new(zone()) LCheckMapValue(value, map));
2393 } 2394 }
2394 2395
2395 2396
2396 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2397 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2397 LOperand* object = UseRegister(instr->object()); 2398 LOperand* object = UseRegister(instr->object());
2398 LOperand* index = UseRegister(instr->index()); 2399 LOperand* index = UseRegister(instr->index());
2399 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); 2400 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index));
2400 } 2401 }
2401 2402
2402 2403
2403 } } // namespace v8::internal 2404 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698