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

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

Issue 11377135: Don't emit code for instructions that are hiding behind an HSoftDeoptimize (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: review feedback Created 7 years, 11 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/x64/lithium-codegen-x64.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 704 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 ASSERT(operand->HasFixedPolicy()); 715 ASSERT(operand->HasFixedPolicy());
716 return operand; 716 return operand;
717 } 717 }
718 718
719 719
720 LInstruction* LChunkBuilder::DoBlockEntry(HBlockEntry* instr) { 720 LInstruction* LChunkBuilder::DoBlockEntry(HBlockEntry* instr) {
721 return new(zone()) LLabel(instr->block()); 721 return new(zone()) LLabel(instr->block());
722 } 722 }
723 723
724 724
725 LInstruction* LChunkBuilder::DoDummyUse(HDummyUse* instr) {
726 return DefineAsRegister(new(zone()) LDummyUse(UseAny(instr->value())));
727 }
728
729
725 LInstruction* LChunkBuilder::DoSoftDeoptimize(HSoftDeoptimize* instr) { 730 LInstruction* LChunkBuilder::DoSoftDeoptimize(HSoftDeoptimize* instr) {
726 return AssignEnvironment(new(zone()) LDeoptimize); 731 return AssignEnvironment(new(zone()) LDeoptimize);
727 } 732 }
728 733
729 734
730 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) { 735 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) {
731 return AssignEnvironment(new(zone()) LDeoptimize); 736 return AssignEnvironment(new(zone()) LDeoptimize);
732 } 737 }
733 738
734 739
(...skipping 1736 matching lines...) Expand 10 before | Expand all | Expand 10 after
2471 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2476 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2472 LOperand* object = UseRegister(instr->object()); 2477 LOperand* object = UseRegister(instr->object());
2473 LOperand* index = UseTempRegister(instr->index()); 2478 LOperand* index = UseTempRegister(instr->index());
2474 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); 2479 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index));
2475 } 2480 }
2476 2481
2477 2482
2478 } } // namespace v8::internal 2483 } } // namespace v8::internal
2479 2484
2480 #endif // V8_TARGET_ARCH_IA32 2485 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.h ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698