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

Side by Side Diff: src/arm/lithium-arm.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/arm/lithium-arm.h ('k') | src/arm/lithium-codegen-arm.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 660 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 ASSERT(operand->HasFixedPolicy()); 671 ASSERT(operand->HasFixedPolicy());
672 return operand; 672 return operand;
673 } 673 }
674 674
675 675
676 LInstruction* LChunkBuilder::DoBlockEntry(HBlockEntry* instr) { 676 LInstruction* LChunkBuilder::DoBlockEntry(HBlockEntry* instr) {
677 return new(zone()) LLabel(instr->block()); 677 return new(zone()) LLabel(instr->block());
678 } 678 }
679 679
680 680
681 LInstruction* LChunkBuilder::DoDummyUse(HDummyUse* instr) {
682 return DefineAsRegister(new(zone()) LDummyUse(UseAny(instr->value())));
683 }
684
685
681 LInstruction* LChunkBuilder::DoSoftDeoptimize(HSoftDeoptimize* instr) { 686 LInstruction* LChunkBuilder::DoSoftDeoptimize(HSoftDeoptimize* instr) {
682 return AssignEnvironment(new(zone()) LDeoptimize); 687 return AssignEnvironment(new(zone()) LDeoptimize);
683 } 688 }
684 689
685 690
686 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) { 691 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) {
687 return AssignEnvironment(new(zone()) LDeoptimize); 692 return AssignEnvironment(new(zone()) LDeoptimize);
688 } 693 }
689 694
690 695
(...skipping 1696 matching lines...) Expand 10 before | Expand all | Expand 10 after
2387 2392
2388 2393
2389 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2394 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2390 LOperand* object = UseRegister(instr->object()); 2395 LOperand* object = UseRegister(instr->object());
2391 LOperand* index = UseRegister(instr->index()); 2396 LOperand* index = UseRegister(instr->index());
2392 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); 2397 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index));
2393 } 2398 }
2394 2399
2395 2400
2396 } } // namespace v8::internal 2401 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.h ('k') | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698