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

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

Issue 8291004: Fixed printing of HTypeofIsAndBranch instruction for non-ASCII type literals. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 2 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 | « no previous file | 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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 765 matching lines...) Expand 10 before | Expand all | Expand 10 after
776 if (to_ == JS_FUNCTION_TYPE) stream->Add(" function"); 776 if (to_ == JS_FUNCTION_TYPE) stream->Add(" function");
777 break; 777 break;
778 default: 778 default:
779 break; 779 break;
780 } 780 }
781 } 781 }
782 782
783 783
784 void HTypeofIsAndBranch::PrintDataTo(StringStream* stream) { 784 void HTypeofIsAndBranch::PrintDataTo(StringStream* stream) {
785 value()->PrintNameTo(stream); 785 value()->PrintNameTo(stream);
786 stream->Add(" == "); 786 stream->Add(" == %o", *type_literal_);
787 stream->Add(type_literal_->GetFlatContent().ToAsciiVector());
788 HControlInstruction::PrintDataTo(stream); 787 HControlInstruction::PrintDataTo(stream);
789 } 788 }
790 789
791 790
792 void HTypeof::PrintDataTo(StringStream* stream) { 791 void HTypeof::PrintDataTo(StringStream* stream) {
793 value()->PrintNameTo(stream); 792 value()->PrintNameTo(stream);
794 } 793 }
795 794
796 795
797 void HChange::PrintDataTo(StringStream* stream) { 796 void HChange::PrintDataTo(StringStream* stream) {
(...skipping 1168 matching lines...) Expand 10 before | Expand all | Expand 10 after
1966 1965
1967 1966
1968 void HCheckPrototypeMaps::Verify() { 1967 void HCheckPrototypeMaps::Verify() {
1969 HInstruction::Verify(); 1968 HInstruction::Verify();
1970 ASSERT(HasNoUses()); 1969 ASSERT(HasNoUses());
1971 } 1970 }
1972 1971
1973 #endif 1972 #endif
1974 1973
1975 } } // namespace v8::internal 1974 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698