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

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

Issue 16453002: Removed flag optimize-constructed-arrays. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Comment fixes Created 7 years, 5 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/mips/builtins-mips.cc » ('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 1357 matching lines...) Expand 10 before | Expand all | Expand 10 after
1368 LInstruction* LChunkBuilder::DoCallNew(HCallNew* instr) { 1368 LInstruction* LChunkBuilder::DoCallNew(HCallNew* instr) {
1369 LOperand* context = UseFixed(instr->context(), esi); 1369 LOperand* context = UseFixed(instr->context(), esi);
1370 LOperand* constructor = UseFixed(instr->constructor(), edi); 1370 LOperand* constructor = UseFixed(instr->constructor(), edi);
1371 argument_count_ -= instr->argument_count(); 1371 argument_count_ -= instr->argument_count();
1372 LCallNew* result = new(zone()) LCallNew(context, constructor); 1372 LCallNew* result = new(zone()) LCallNew(context, constructor);
1373 return MarkAsCall(DefineFixed(result, eax), instr); 1373 return MarkAsCall(DefineFixed(result, eax), instr);
1374 } 1374 }
1375 1375
1376 1376
1377 LInstruction* LChunkBuilder::DoCallNewArray(HCallNewArray* instr) { 1377 LInstruction* LChunkBuilder::DoCallNewArray(HCallNewArray* instr) {
1378 ASSERT(FLAG_optimize_constructed_arrays);
1379 LOperand* context = UseFixed(instr->context(), esi); 1378 LOperand* context = UseFixed(instr->context(), esi);
1380 LOperand* constructor = UseFixed(instr->constructor(), edi); 1379 LOperand* constructor = UseFixed(instr->constructor(), edi);
1381 argument_count_ -= instr->argument_count(); 1380 argument_count_ -= instr->argument_count();
1382 LCallNewArray* result = new(zone()) LCallNewArray(context, constructor); 1381 LCallNewArray* result = new(zone()) LCallNewArray(context, constructor);
1383 return MarkAsCall(DefineFixed(result, eax), instr); 1382 return MarkAsCall(DefineFixed(result, eax), instr);
1384 } 1383 }
1385 1384
1386 1385
1387 LInstruction* LChunkBuilder::DoCallFunction(HCallFunction* instr) { 1386 LInstruction* LChunkBuilder::DoCallFunction(HCallFunction* instr) {
1388 LOperand* context = UseFixed(instr->context(), esi); 1387 LOperand* context = UseFixed(instr->context(), esi);
(...skipping 1425 matching lines...) Expand 10 before | Expand all | Expand 10 after
2814 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2813 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2815 LOperand* object = UseRegister(instr->object()); 2814 LOperand* object = UseRegister(instr->object());
2816 LOperand* index = UseTempRegister(instr->index()); 2815 LOperand* index = UseTempRegister(instr->index());
2817 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); 2816 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index));
2818 } 2817 }
2819 2818
2820 2819
2821 } } // namespace v8::internal 2820 } } // namespace v8::internal
2822 2821
2823 #endif // V8_TARGET_ARCH_IA32 2822 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/mips/builtins-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698