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

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

Issue 6119004: ARM: Implement delete operation in lithium codegen.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 11 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/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 1811 matching lines...) Expand 10 before | Expand all | Expand 10 after
1822 return MarkAsCall(DefineFixed(new LRegExpLiteral, r0), instr); 1822 return MarkAsCall(DefineFixed(new LRegExpLiteral, r0), instr);
1823 } 1823 }
1824 1824
1825 1825
1826 LInstruction* LChunkBuilder::DoFunctionLiteral(HFunctionLiteral* instr) { 1826 LInstruction* LChunkBuilder::DoFunctionLiteral(HFunctionLiteral* instr) {
1827 return MarkAsCall(DefineFixed(new LFunctionLiteral, r0), instr); 1827 return MarkAsCall(DefineFixed(new LFunctionLiteral, r0), instr);
1828 } 1828 }
1829 1829
1830 1830
1831 LInstruction* LChunkBuilder::DoDeleteProperty(HDeleteProperty* instr) { 1831 LInstruction* LChunkBuilder::DoDeleteProperty(HDeleteProperty* instr) {
1832 LInstruction* result = new LDeleteProperty(Use(instr->object()), 1832 LOperand* object = UseRegisterAtStart(instr->object());
1833 UseOrConstant(instr->key())); 1833 LOperand* key = UseRegisterAtStart(instr->key());
1834 LInstruction* result = new LDeleteProperty(object, key);
1834 return MarkAsCall(DefineFixed(result, r0), instr); 1835 return MarkAsCall(DefineFixed(result, r0), instr);
1835 } 1836 }
1836 1837
1837 1838
1838 LInstruction* LChunkBuilder::DoOsrEntry(HOsrEntry* instr) { 1839 LInstruction* LChunkBuilder::DoOsrEntry(HOsrEntry* instr) {
1839 allocator_->MarkAsOsrEntry(); 1840 allocator_->MarkAsOsrEntry();
1840 current_block_->last_environment()->set_ast_id(instr->ast_id()); 1841 current_block_->last_environment()->set_ast_id(instr->ast_id());
1841 return AssignEnvironment(new LOsrEntry); 1842 return AssignEnvironment(new LOsrEntry);
1842 } 1843 }
1843 1844
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
1955 void LPointerMap::PrintTo(StringStream* stream) const { 1956 void LPointerMap::PrintTo(StringStream* stream) const {
1956 stream->Add("{"); 1957 stream->Add("{");
1957 for (int i = 0; i < pointer_operands_.length(); ++i) { 1958 for (int i = 0; i < pointer_operands_.length(); ++i) {
1958 if (i != 0) stream->Add(";"); 1959 if (i != 0) stream->Add(";");
1959 pointer_operands_[i]->PrintTo(stream); 1960 pointer_operands_[i]->PrintTo(stream);
1960 } 1961 }
1961 stream->Add("} @%d", position()); 1962 stream->Add("} @%d", position());
1962 } 1963 }
1963 1964
1964 } } // namespace v8::internal 1965 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698