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

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

Issue 8640001: Implement crankshaft support for nested object literals. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Ported lithium part to x64 and ARM. Created 9 years 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/arm/lithium-arm.h ('k') | src/arm/lithium-codegen-arm.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 2052 matching lines...) Expand 10 before | Expand all | Expand 10 after
2063 LOperand* string = UseRegisterAtStart(instr->value()); 2063 LOperand* string = UseRegisterAtStart(instr->value());
2064 return DefineAsRegister(new LStringLength(string)); 2064 return DefineAsRegister(new LStringLength(string));
2065 } 2065 }
2066 2066
2067 2067
2068 LInstruction* LChunkBuilder::DoArrayLiteral(HArrayLiteral* instr) { 2068 LInstruction* LChunkBuilder::DoArrayLiteral(HArrayLiteral* instr) {
2069 return MarkAsCall(DefineFixed(new LArrayLiteral, r0), instr); 2069 return MarkAsCall(DefineFixed(new LArrayLiteral, r0), instr);
2070 } 2070 }
2071 2071
2072 2072
2073 LInstruction* LChunkBuilder::DoObjectLiteral(HObjectLiteral* instr) { 2073 LInstruction* LChunkBuilder::DoObjectLiteralFast(HObjectLiteralFast* instr) {
2074 return MarkAsCall(DefineFixed(new LObjectLiteral, r0), instr); 2074 return MarkAsCall(DefineFixed(new LObjectLiteralFast, r0), instr);
2075 } 2075 }
2076 2076
2077 2077
2078 LInstruction* LChunkBuilder::DoObjectLiteralGeneric(
2079 HObjectLiteralGeneric* instr) {
2080 return MarkAsCall(DefineFixed(new LObjectLiteralGeneric, r0), instr);
2081 }
2082
2083
2078 LInstruction* LChunkBuilder::DoRegExpLiteral(HRegExpLiteral* instr) { 2084 LInstruction* LChunkBuilder::DoRegExpLiteral(HRegExpLiteral* instr) {
2079 return MarkAsCall(DefineFixed(new LRegExpLiteral, r0), instr); 2085 return MarkAsCall(DefineFixed(new LRegExpLiteral, r0), instr);
2080 } 2086 }
2081 2087
2082 2088
2083 LInstruction* LChunkBuilder::DoFunctionLiteral(HFunctionLiteral* instr) { 2089 LInstruction* LChunkBuilder::DoFunctionLiteral(HFunctionLiteral* instr) {
2084 return MarkAsCall(DefineFixed(new LFunctionLiteral, r0), instr); 2090 return MarkAsCall(DefineFixed(new LFunctionLiteral, r0), instr);
2085 } 2091 }
2086 2092
2087 2093
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
2227 2233
2228 LInstruction* LChunkBuilder::DoIn(HIn* instr) { 2234 LInstruction* LChunkBuilder::DoIn(HIn* instr) {
2229 LOperand* key = UseRegisterAtStart(instr->key()); 2235 LOperand* key = UseRegisterAtStart(instr->key());
2230 LOperand* object = UseRegisterAtStart(instr->object()); 2236 LOperand* object = UseRegisterAtStart(instr->object());
2231 LIn* result = new LIn(key, object); 2237 LIn* result = new LIn(key, object);
2232 return MarkAsCall(DefineFixed(result, r0), instr); 2238 return MarkAsCall(DefineFixed(result, r0), instr);
2233 } 2239 }
2234 2240
2235 2241
2236 } } // namespace v8::internal 2242 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.h ('k') | src/arm/lithium-codegen-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698