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

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: 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 1850 matching lines...) Expand 10 before | Expand all | Expand 10 after
1861 return MarkAsCall(DefineFixed(new LRegExpLiteral, rax), instr); 1861 return MarkAsCall(DefineFixed(new LRegExpLiteral, rax), instr);
1862 } 1862 }
1863 1863
1864 1864
1865 LInstruction* LChunkBuilder::DoFunctionLiteral(HFunctionLiteral* instr) { 1865 LInstruction* LChunkBuilder::DoFunctionLiteral(HFunctionLiteral* instr) {
1866 return MarkAsCall(DefineFixed(new LFunctionLiteral, rax), instr); 1866 return MarkAsCall(DefineFixed(new LFunctionLiteral, rax), instr);
1867 } 1867 }
1868 1868
1869 1869
1870 LInstruction* LChunkBuilder::DoDeleteProperty(HDeleteProperty* instr) { 1870 LInstruction* LChunkBuilder::DoDeleteProperty(HDeleteProperty* instr) {
1871 Abort("Unimplemented: %s", "DoDeleteProperty"); 1871 LDeleteProperty* result =
1872 return NULL; 1872 new LDeleteProperty(Use(instr->object()), UseOrConstant(instr->key()));
1873 return MarkAsCall(DefineFixed(result, rax), instr);
1873 } 1874 }
1874 1875
1875 1876
1876 LInstruction* LChunkBuilder::DoOsrEntry(HOsrEntry* instr) { 1877 LInstruction* LChunkBuilder::DoOsrEntry(HOsrEntry* instr) {
1877 Abort("Unimplemented: %s", "DoOsrEntry"); 1878 Abort("Unimplemented: %s", "DoOsrEntry");
1878 return NULL; 1879 return NULL;
1879 } 1880 }
1880 1881
1881 1882
1882 LInstruction* LChunkBuilder::DoParameter(HParameter* instr) { 1883 LInstruction* LChunkBuilder::DoParameter(HParameter* instr) {
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
1984 1985
1985 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { 1986 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) {
1986 HEnvironment* outer = current_block_->last_environment()->outer(); 1987 HEnvironment* outer = current_block_->last_environment()->outer();
1987 current_block_->UpdateEnvironment(outer); 1988 current_block_->UpdateEnvironment(outer);
1988 return NULL; 1989 return NULL;
1989 } 1990 }
1990 1991
1991 } } // namespace v8::internal 1992 } } // namespace v8::internal
1992 1993
1993 #endif // V8_TARGET_ARCH_X64 1994 #endif // V8_TARGET_ARCH_X64
OLDNEW
« src/x64/lithium-codegen-x64.cc ('K') | « src/x64/lithium-codegen-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698