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

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

Issue 14972008: Remove obsolete HObjectLiteral instruction. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix after rebase. Created 7 years, 7 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-ia32.h ('k') | src/mips/lithium-codegen-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 2519 matching lines...) Expand 10 before | Expand all | Expand 10 after
2530 } 2530 }
2531 2531
2532 2532
2533 LInstruction* LChunkBuilder::DoArrayLiteral(HArrayLiteral* instr) { 2533 LInstruction* LChunkBuilder::DoArrayLiteral(HArrayLiteral* instr) {
2534 LOperand* context = UseFixed(instr->context(), esi); 2534 LOperand* context = UseFixed(instr->context(), esi);
2535 return MarkAsCall( 2535 return MarkAsCall(
2536 DefineFixed(new(zone()) LArrayLiteral(context), eax), instr); 2536 DefineFixed(new(zone()) LArrayLiteral(context), eax), instr);
2537 } 2537 }
2538 2538
2539 2539
2540 LInstruction* LChunkBuilder::DoObjectLiteral(HObjectLiteral* instr) {
2541 LOperand* context = UseFixed(instr->context(), esi);
2542 return MarkAsCall(
2543 DefineFixed(new(zone()) LObjectLiteral(context), eax), instr);
2544 }
2545
2546
2547 LInstruction* LChunkBuilder::DoRegExpLiteral(HRegExpLiteral* instr) { 2540 LInstruction* LChunkBuilder::DoRegExpLiteral(HRegExpLiteral* instr) {
2548 LOperand* context = UseFixed(instr->context(), esi); 2541 LOperand* context = UseFixed(instr->context(), esi);
2549 return MarkAsCall( 2542 return MarkAsCall(
2550 DefineFixed(new(zone()) LRegExpLiteral(context), eax), instr); 2543 DefineFixed(new(zone()) LRegExpLiteral(context), eax), instr);
2551 } 2544 }
2552 2545
2553 2546
2554 LInstruction* LChunkBuilder::DoFunctionLiteral(HFunctionLiteral* instr) { 2547 LInstruction* LChunkBuilder::DoFunctionLiteral(HFunctionLiteral* instr) {
2555 LOperand* context = UseFixed(instr->context(), esi); 2548 LOperand* context = UseFixed(instr->context(), esi);
2556 return MarkAsCall( 2549 return MarkAsCall(
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
2780 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2773 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2781 LOperand* object = UseRegister(instr->object()); 2774 LOperand* object = UseRegister(instr->object());
2782 LOperand* index = UseTempRegister(instr->index()); 2775 LOperand* index = UseTempRegister(instr->index());
2783 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); 2776 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index));
2784 } 2777 }
2785 2778
2786 2779
2787 } } // namespace v8::internal 2780 } } // namespace v8::internal
2788 2781
2789 #endif // V8_TARGET_ARCH_IA32 2782 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.h ('k') | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698