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

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

Issue 11818021: Allocation Info Tracking, continued. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: A partial delta against Toon's previous review Created 7 years, 9 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/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/macro-assembler-ia32.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 1208 matching lines...) Expand 10 before | Expand all | Expand 10 after
1219 LInstruction* LChunkBuilder::DoCallNew(HCallNew* instr) { 1219 LInstruction* LChunkBuilder::DoCallNew(HCallNew* instr) {
1220 LOperand* context = UseFixed(instr->context(), esi); 1220 LOperand* context = UseFixed(instr->context(), esi);
1221 LOperand* constructor = UseFixed(instr->constructor(), edi); 1221 LOperand* constructor = UseFixed(instr->constructor(), edi);
1222 argument_count_ -= instr->argument_count(); 1222 argument_count_ -= instr->argument_count();
1223 LCallNew* result = new(zone()) LCallNew(context, constructor); 1223 LCallNew* result = new(zone()) LCallNew(context, constructor);
1224 return MarkAsCall(DefineFixed(result, eax), instr); 1224 return MarkAsCall(DefineFixed(result, eax), instr);
1225 } 1225 }
1226 1226
1227 1227
1228 LInstruction* LChunkBuilder::DoCallNewArray(HCallNewArray* instr) { 1228 LInstruction* LChunkBuilder::DoCallNewArray(HCallNewArray* instr) {
1229 ASSERT(FLAG_optimize_constructed_arrays);
1229 LOperand* context = UseFixed(instr->context(), esi); 1230 LOperand* context = UseFixed(instr->context(), esi);
1230 LOperand* constructor = UseFixed(instr->constructor(), edi); 1231 LOperand* constructor = UseFixed(instr->constructor(), edi);
1231 argument_count_ -= instr->argument_count(); 1232 argument_count_ -= instr->argument_count();
1232 LCallNewArray* result = new(zone()) LCallNewArray(context, constructor); 1233 LCallNewArray* result = new(zone()) LCallNewArray(context, constructor);
1233 return MarkAsCall(DefineFixed(result, eax), instr); 1234 return MarkAsCall(DefineFixed(result, eax), instr);
1234 } 1235 }
1235 1236
1236 1237
1237 LInstruction* LChunkBuilder::DoCallFunction(HCallFunction* instr) { 1238 LInstruction* LChunkBuilder::DoCallFunction(HCallFunction* instr) {
1238 LOperand* context = UseFixed(instr->context(), esi); 1239 LOperand* context = UseFixed(instr->context(), esi);
(...skipping 1346 matching lines...) Expand 10 before | Expand all | Expand 10 after
2585 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2586 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2586 LOperand* object = UseRegister(instr->object()); 2587 LOperand* object = UseRegister(instr->object());
2587 LOperand* index = UseTempRegister(instr->index()); 2588 LOperand* index = UseTempRegister(instr->index());
2588 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); 2589 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index));
2589 } 2590 }
2590 2591
2591 2592
2592 } } // namespace v8::internal 2593 } } // namespace v8::internal
2593 2594
2594 #endif // V8_TARGET_ARCH_IA32 2595 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/macro-assembler-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698