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

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

Issue 6570005: x64: Implement delete property in lithium backend. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address comments. 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/x64/lithium-codegen-x64.cc ('k') | no next file » | 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 1865 matching lines...) Expand 10 before | Expand all | Expand 10 after
1876 return MarkAsCall(DefineFixed(new LRegExpLiteral, rax), instr); 1876 return MarkAsCall(DefineFixed(new LRegExpLiteral, rax), instr);
1877 } 1877 }
1878 1878
1879 1879
1880 LInstruction* LChunkBuilder::DoFunctionLiteral(HFunctionLiteral* instr) { 1880 LInstruction* LChunkBuilder::DoFunctionLiteral(HFunctionLiteral* instr) {
1881 return MarkAsCall(DefineFixed(new LFunctionLiteral, rax), instr); 1881 return MarkAsCall(DefineFixed(new LFunctionLiteral, rax), instr);
1882 } 1882 }
1883 1883
1884 1884
1885 LInstruction* LChunkBuilder::DoDeleteProperty(HDeleteProperty* instr) { 1885 LInstruction* LChunkBuilder::DoDeleteProperty(HDeleteProperty* instr) {
1886 Abort("Unimplemented: %s", "DoDeleteProperty"); 1886 LDeleteProperty* result =
1887 return NULL; 1887 new LDeleteProperty(Use(instr->object()), UseOrConstant(instr->key()));
1888 return MarkAsCall(DefineFixed(result, rax), instr);
1888 } 1889 }
1889 1890
1890 1891
1891 LInstruction* LChunkBuilder::DoOsrEntry(HOsrEntry* instr) { 1892 LInstruction* LChunkBuilder::DoOsrEntry(HOsrEntry* instr) {
1892 allocator_->MarkAsOsrEntry(); 1893 allocator_->MarkAsOsrEntry();
1893 current_block_->last_environment()->set_ast_id(instr->ast_id()); 1894 current_block_->last_environment()->set_ast_id(instr->ast_id());
1894 return AssignEnvironment(new LOsrEntry); 1895 return AssignEnvironment(new LOsrEntry);
1895 } 1896 }
1896 1897
1897 1898
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
2000 2001
2001 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { 2002 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) {
2002 HEnvironment* outer = current_block_->last_environment()->outer(); 2003 HEnvironment* outer = current_block_->last_environment()->outer();
2003 current_block_->UpdateEnvironment(outer); 2004 current_block_->UpdateEnvironment(outer);
2004 return NULL; 2005 return NULL;
2005 } 2006 }
2006 2007
2007 } } // namespace v8::internal 2008 } } // namespace v8::internal
2008 2009
2009 #endif // V8_TARGET_ARCH_X64 2010 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698