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

Side by Side Diff: src/ia32/lithium-ia32.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 | « no previous file | src/x64/lithium-codegen-x64.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 1922 matching lines...) Expand 10 before | Expand all | Expand 10 after
1933 return MarkAsCall(DefineFixed(new LRegExpLiteral, eax), instr); 1933 return MarkAsCall(DefineFixed(new LRegExpLiteral, eax), instr);
1934 } 1934 }
1935 1935
1936 1936
1937 LInstruction* LChunkBuilder::DoFunctionLiteral(HFunctionLiteral* instr) { 1937 LInstruction* LChunkBuilder::DoFunctionLiteral(HFunctionLiteral* instr) {
1938 return MarkAsCall(DefineFixed(new LFunctionLiteral, eax), instr); 1938 return MarkAsCall(DefineFixed(new LFunctionLiteral, eax), instr);
1939 } 1939 }
1940 1940
1941 1941
1942 LInstruction* LChunkBuilder::DoDeleteProperty(HDeleteProperty* instr) { 1942 LInstruction* LChunkBuilder::DoDeleteProperty(HDeleteProperty* instr) {
1943 LDeleteProperty* result = new LDeleteProperty(Use(instr->object()), 1943 LDeleteProperty* result =
1944 UseOrConstant(instr->key())); 1944 new LDeleteProperty(Use(instr->object()), UseOrConstant(instr->key()));
1945 return MarkAsCall(DefineFixed(result, eax), instr); 1945 return MarkAsCall(DefineFixed(result, eax), instr);
1946 } 1946 }
1947 1947
1948 1948
1949 LInstruction* LChunkBuilder::DoOsrEntry(HOsrEntry* instr) { 1949 LInstruction* LChunkBuilder::DoOsrEntry(HOsrEntry* instr) {
1950 allocator_->MarkAsOsrEntry(); 1950 allocator_->MarkAsOsrEntry();
1951 current_block_->last_environment()->set_ast_id(instr->ast_id()); 1951 current_block_->last_environment()->set_ast_id(instr->ast_id());
1952 return AssignEnvironment(new LOsrEntry); 1952 return AssignEnvironment(new LOsrEntry);
1953 } 1953 }
1954 1954
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
2061 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { 2061 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) {
2062 HEnvironment* outer = current_block_->last_environment()->outer(); 2062 HEnvironment* outer = current_block_->last_environment()->outer();
2063 current_block_->UpdateEnvironment(outer); 2063 current_block_->UpdateEnvironment(outer);
2064 return NULL; 2064 return NULL;
2065 } 2065 }
2066 2066
2067 2067
2068 } } // namespace v8::internal 2068 } } // namespace v8::internal
2069 2069
2070 #endif // V8_TARGET_ARCH_IA32 2070 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « no previous file | src/x64/lithium-codegen-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698