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

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

Issue 5991001: Mark map-transition stores as map-changing instructions.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: x Created 10 years 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') | 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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 572
573 void HBranch::PrintDataTo(StringStream* stream) const { 573 void HBranch::PrintDataTo(StringStream* stream) const {
574 int first_id = FirstSuccessor()->block_id(); 574 int first_id = FirstSuccessor()->block_id();
575 int second_id = SecondSuccessor()->block_id(); 575 int second_id = SecondSuccessor()->block_id();
576 stream->Add("on "); 576 stream->Add("on ");
577 value()->PrintNameTo(stream); 577 value()->PrintNameTo(stream);
578 stream->Add(" (B%d, B%d)", first_id, second_id); 578 stream->Add(" (B%d, B%d)", first_id, second_id);
579 } 579 }
580 580
581 581
582 void HCompareMapAndBranch::PrintDataTo(StringStream* stream) const {
583 stream->Add("on ");
584 value()->PrintNameTo(stream);
585 stream->Add(" (%p)", *map());
586 }
587
588
582 void HGoto::PrintDataTo(StringStream* stream) const { 589 void HGoto::PrintDataTo(StringStream* stream) const {
583 stream->Add("B%d", FirstSuccessor()->block_id()); 590 stream->Add("B%d", FirstSuccessor()->block_id());
584 } 591 }
585 592
586 593
587 void HReturn::PrintDataTo(StringStream* stream) const { 594 void HReturn::PrintDataTo(StringStream* stream) const {
588 value()->PrintNameTo(stream); 595 value()->PrintNameTo(stream);
589 } 596 }
590 597
591 598
(...skipping 838 matching lines...) Expand 10 before | Expand all | Expand 10 after
1430 1437
1431 1438
1432 void HCheckPrototypeMaps::Verify() const { 1439 void HCheckPrototypeMaps::Verify() const {
1433 HInstruction::Verify(); 1440 HInstruction::Verify();
1434 ASSERT(HasNoUses()); 1441 ASSERT(HasNoUses());
1435 } 1442 }
1436 1443
1437 #endif 1444 #endif
1438 1445
1439 } } // namespace v8::internal 1446 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698