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

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

Issue 6528013: Implement crankshaft support for pixel array stores. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: review feedback 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 | « no previous file | src/hydrogen.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 1779 matching lines...) Expand 10 before | Expand all | Expand 10 after
1790 ? UseTempRegister(instr->value()) 1790 ? UseTempRegister(instr->value())
1791 : UseRegisterAtStart(instr->value()); 1791 : UseRegisterAtStart(instr->value());
1792 LOperand* key = needs_write_barrier 1792 LOperand* key = needs_write_barrier
1793 ? UseTempRegister(instr->key()) 1793 ? UseTempRegister(instr->key())
1794 : UseRegisterOrConstantAtStart(instr->key()); 1794 : UseRegisterOrConstantAtStart(instr->key());
1795 1795
1796 return AssignEnvironment(new LStoreKeyedFastElement(obj, key, val)); 1796 return AssignEnvironment(new LStoreKeyedFastElement(obj, key, val));
1797 } 1797 }
1798 1798
1799 1799
1800 LInstruction* LChunkBuilder::DoStorePixelArrayElement(
1801 HStorePixelArrayElement* instr) {
1802 Abort("DoStorePixelArrayElement not implemented");
1803 return NULL;
1804 }
1805
1806
1800 LInstruction* LChunkBuilder::DoStoreKeyedGeneric(HStoreKeyedGeneric* instr) { 1807 LInstruction* LChunkBuilder::DoStoreKeyedGeneric(HStoreKeyedGeneric* instr) {
1801 LOperand* obj = UseFixed(instr->object(), r2); 1808 LOperand* obj = UseFixed(instr->object(), r2);
1802 LOperand* key = UseFixed(instr->key(), r1); 1809 LOperand* key = UseFixed(instr->key(), r1);
1803 LOperand* val = UseFixed(instr->value(), r0); 1810 LOperand* val = UseFixed(instr->value(), r0);
1804 1811
1805 ASSERT(instr->object()->representation().IsTagged()); 1812 ASSERT(instr->object()->representation().IsTagged());
1806 ASSERT(instr->key()->representation().IsTagged()); 1813 ASSERT(instr->key()->representation().IsTagged());
1807 ASSERT(instr->value()->representation().IsTagged()); 1814 ASSERT(instr->value()->representation().IsTagged());
1808 1815
1809 return MarkAsCall(new LStoreKeyedGeneric(obj, key, val), instr); 1816 return MarkAsCall(new LStoreKeyedGeneric(obj, key, val), instr);
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
1985 1992
1986 1993
1987 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { 1994 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) {
1988 HEnvironment* outer = current_block_->last_environment()->outer(); 1995 HEnvironment* outer = current_block_->last_environment()->outer();
1989 current_block_->UpdateEnvironment(outer); 1996 current_block_->UpdateEnvironment(outer);
1990 return NULL; 1997 return NULL;
1991 } 1998 }
1992 1999
1993 2000
1994 } } // namespace v8::internal 2001 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698