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

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

Issue 9141016: Improve GVN handling of ElementTransitions. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix comment nit Created 8 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-instructions.h ('k') | src/objects.h » ('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 875 matching lines...) Expand 10 before | Expand all | Expand 10 after
886 return; 886 return;
887 default: 887 default:
888 UNREACHABLE(); 888 UNREACHABLE();
889 } 889 }
890 } 890 }
891 891
892 892
893 void HCheckMap::PrintDataTo(StringStream* stream) { 893 void HCheckMap::PrintDataTo(StringStream* stream) {
894 value()->PrintNameTo(stream); 894 value()->PrintNameTo(stream);
895 stream->Add(" %p", *map()); 895 stream->Add(" %p", *map());
896 if (mode() == REQUIRE_EXACT_MAP) {
897 stream->Add(" [EXACT]");
898 } else if (!has_element_transitions_) {
899 stream->Add(" [EXACT*]");
900 } else {
901 stream->Add(" [MATCH ELEMENTS]");
902 }
896 } 903 }
897 904
898 905
899 void HCheckFunction::PrintDataTo(StringStream* stream) { 906 void HCheckFunction::PrintDataTo(StringStream* stream) {
900 value()->PrintNameTo(stream); 907 value()->PrintNameTo(stream);
901 stream->Add(" %p", *target()); 908 stream->Add(" %p", *target());
902 } 909 }
903 910
904 911
905 const char* HCheckInstanceType::GetCheckName() { 912 const char* HCheckInstanceType::GetCheckName() {
(...skipping 1248 matching lines...) Expand 10 before | Expand all | Expand 10 after
2154 2161
2155 2162
2156 void HCheckPrototypeMaps::Verify() { 2163 void HCheckPrototypeMaps::Verify() {
2157 HInstruction::Verify(); 2164 HInstruction::Verify();
2158 ASSERT(HasNoUses()); 2165 ASSERT(HasNoUses());
2159 } 2166 }
2160 2167
2161 #endif 2168 #endif
2162 2169
2163 } } // namespace v8::internal 2170 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698