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

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

Issue 6572003: ARM: Port r6635 and r6659... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 10 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/full-codegen-arm.cc ('k') | src/arm/lithium-codegen-arm.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 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 1690 matching lines...) Expand 10 before | Expand all | Expand 10 after
1701 } 1701 }
1702 1702
1703 1703
1704 LInstruction* LChunkBuilder::DoLoadContextSlot(HLoadContextSlot* instr) { 1704 LInstruction* LChunkBuilder::DoLoadContextSlot(HLoadContextSlot* instr) {
1705 LOperand* context = UseRegisterAtStart(instr->value()); 1705 LOperand* context = UseRegisterAtStart(instr->value());
1706 return DefineAsRegister(new LLoadContextSlot(context)); 1706 return DefineAsRegister(new LLoadContextSlot(context));
1707 } 1707 }
1708 1708
1709 1709
1710 LInstruction* LChunkBuilder::DoStoreContextSlot(HStoreContextSlot* instr) { 1710 LInstruction* LChunkBuilder::DoStoreContextSlot(HStoreContextSlot* instr) {
1711 LOperand* context = UseTempRegister(instr->context()); 1711 LOperand* context;
1712 LOperand* value; 1712 LOperand* value;
1713 if (instr->NeedsWriteBarrier()) { 1713 if (instr->NeedsWriteBarrier()) {
1714 context = UseTempRegister(instr->context());
1714 value = UseTempRegister(instr->value()); 1715 value = UseTempRegister(instr->value());
1715 } else { 1716 } else {
1717 context = UseRegister(instr->context());
1716 value = UseRegister(instr->value()); 1718 value = UseRegister(instr->value());
1717 } 1719 }
1718 return new LStoreContextSlot(context, value); 1720 return new LStoreContextSlot(context, value);
1719 } 1721 }
1720 1722
1721 1723
1722 LInstruction* LChunkBuilder::DoLoadNamedField(HLoadNamedField* instr) { 1724 LInstruction* LChunkBuilder::DoLoadNamedField(HLoadNamedField* instr) {
1723 return DefineAsRegister( 1725 return DefineAsRegister(
1724 new LLoadNamedField(UseRegisterAtStart(instr->object()))); 1726 new LLoadNamedField(UseRegisterAtStart(instr->object())));
1725 } 1727 }
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
2002 2004
2003 2005
2004 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { 2006 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) {
2005 HEnvironment* outer = current_block_->last_environment()->outer(); 2007 HEnvironment* outer = current_block_->last_environment()->outer();
2006 current_block_->UpdateEnvironment(outer); 2008 current_block_->UpdateEnvironment(outer);
2007 return NULL; 2009 return NULL;
2008 } 2010 }
2009 2011
2010 2012
2011 } } // namespace v8::internal 2013 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698