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/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: tweaks 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
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 }
1804
1805
1800 LInstruction* LChunkBuilder::DoStoreKeyedGeneric(HStoreKeyedGeneric* instr) { 1806 LInstruction* LChunkBuilder::DoStoreKeyedGeneric(HStoreKeyedGeneric* instr) {
1801 LOperand* obj = UseFixed(instr->object(), r2); 1807 LOperand* obj = UseFixed(instr->object(), r2);
1802 LOperand* key = UseFixed(instr->key(), r1); 1808 LOperand* key = UseFixed(instr->key(), r1);
1803 LOperand* val = UseFixed(instr->value(), r0); 1809 LOperand* val = UseFixed(instr->value(), r0);
1804 1810
1805 ASSERT(instr->object()->representation().IsTagged()); 1811 ASSERT(instr->object()->representation().IsTagged());
1806 ASSERT(instr->key()->representation().IsTagged()); 1812 ASSERT(instr->key()->representation().IsTagged());
1807 ASSERT(instr->value()->representation().IsTagged()); 1813 ASSERT(instr->value()->representation().IsTagged());
1808 1814
1809 return MarkAsCall(new LStoreKeyedGeneric(obj, key, val), instr); 1815 return MarkAsCall(new LStoreKeyedGeneric(obj, key, val), instr);
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
1985 1991
1986 1992
1987 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { 1993 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) {
1988 HEnvironment* outer = current_block_->last_environment()->outer(); 1994 HEnvironment* outer = current_block_->last_environment()->outer();
1989 current_block_->UpdateEnvironment(outer); 1995 current_block_->UpdateEnvironment(outer);
1990 return NULL; 1996 return NULL;
1991 } 1997 }
1992 1998
1993 1999
1994 } } // namespace v8::internal 2000 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698