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

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: Created 6 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
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 3745 matching lines...) Expand 10 before | Expand all | Expand 10 after
4447 break; 4450 break;
4448 case kExternalMemory: 4451 case kExternalMemory:
4449 stream->Add("[external-memory]"); 4452 stream->Add("[external-memory]");
4450 break; 4453 break;
4451 } 4454 }
4452 4455
4453 stream->Add("@%d", offset()); 4456 stream->Add("@%d", offset());
4454 } 4457 }
4455 4458
4456 } } // namespace v8::internal 4459 } } // namespace v8::internal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698