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

Side by Side Diff: src/hydrogen-instructions.cc

Issue 134733007: Fix for potential issue related to replacing CheckMaps with values. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebasing on r18885. Created 6 years, 10 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/hydrogen-check-elimination.cc ('k') | no next file » | 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 671 matching lines...) Expand 10 before | Expand all | Expand 10 after
682 682
683 void HInstruction::PrintTo(StringStream* stream) { 683 void HInstruction::PrintTo(StringStream* stream) {
684 PrintMnemonicTo(stream); 684 PrintMnemonicTo(stream);
685 PrintDataTo(stream); 685 PrintDataTo(stream);
686 PrintRangeTo(stream); 686 PrintRangeTo(stream);
687 PrintChangesTo(stream); 687 PrintChangesTo(stream);
688 PrintTypeTo(stream); 688 PrintTypeTo(stream);
689 if (CheckFlag(HValue::kHasNoObservableSideEffects)) { 689 if (CheckFlag(HValue::kHasNoObservableSideEffects)) {
690 stream->Add(" [noOSE]"); 690 stream->Add(" [noOSE]");
691 } 691 }
692 if (CheckFlag(HValue::kIsDead)) {
693 stream->Add(" [dead]");
694 }
692 } 695 }
693 696
694 697
695 void HInstruction::PrintDataTo(StringStream *stream) { 698 void HInstruction::PrintDataTo(StringStream *stream) {
696 for (int i = 0; i < OperandCount(); ++i) { 699 for (int i = 0; i < OperandCount(); ++i) {
697 if (i > 0) stream->Add(" "); 700 if (i > 0) stream->Add(" ");
698 OperandAt(i)->PrintNameTo(stream); 701 OperandAt(i)->PrintNameTo(stream);
699 } 702 }
700 } 703 }
701 704
(...skipping 3706 matching lines...) Expand 10 before | Expand all | Expand 10 after
4408 break; 4411 break;
4409 case kExternalMemory: 4412 case kExternalMemory:
4410 stream->Add("[external-memory]"); 4413 stream->Add("[external-memory]");
4411 break; 4414 break;
4412 } 4415 }
4413 4416
4414 stream->Add("@%d", offset()); 4417 stream->Add("@%d", offset());
4415 } 4418 }
4416 4419
4417 } } // namespace v8::internal 4420 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/hydrogen-check-elimination.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698