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

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

Issue 12425005: Print whether a HCheckPrototypeMaps is omitted. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 9 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 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 1394 matching lines...) Expand 10 before | Expand all | Expand 10 after
1405 return ""; 1405 return "";
1406 } 1406 }
1407 1407
1408 void HCheckInstanceType::PrintDataTo(StringStream* stream) { 1408 void HCheckInstanceType::PrintDataTo(StringStream* stream) {
1409 stream->Add("%s ", GetCheckName()); 1409 stream->Add("%s ", GetCheckName());
1410 HUnaryOperation::PrintDataTo(stream); 1410 HUnaryOperation::PrintDataTo(stream);
1411 } 1411 }
1412 1412
1413 1413
1414 void HCheckPrototypeMaps::PrintDataTo(StringStream* stream) { 1414 void HCheckPrototypeMaps::PrintDataTo(StringStream* stream) {
1415 stream->Add("[receiver_prototype=%p,holder=%p]", 1415 stream->Add("[receiver_prototype=%p,holder=%p]%s",
1416 *prototypes_.first(), *prototypes_.last()); 1416 *prototypes_.first(), *prototypes_.last(),
1417 CanOmitPrototypeChecks() ? " (omitted)" : "");
1417 } 1418 }
1418 1419
1419 1420
1420 void HCallStub::PrintDataTo(StringStream* stream) { 1421 void HCallStub::PrintDataTo(StringStream* stream) {
1421 stream->Add("%s ", 1422 stream->Add("%s ",
1422 CodeStub::MajorName(major_key_, false)); 1423 CodeStub::MajorName(major_key_, false));
1423 HUnaryCall::PrintDataTo(stream); 1424 HUnaryCall::PrintDataTo(stream);
1424 } 1425 }
1425 1426
1426 1427
(...skipping 1839 matching lines...) Expand 10 before | Expand all | Expand 10 after
3266 3267
3267 3268
3268 void HCheckFunction::Verify() { 3269 void HCheckFunction::Verify() {
3269 HInstruction::Verify(); 3270 HInstruction::Verify();
3270 ASSERT(HasNoUses()); 3271 ASSERT(HasNoUses());
3271 } 3272 }
3272 3273
3273 #endif 3274 #endif
3274 3275
3275 } } // namespace v8::internal 3276 } } // 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