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

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

Issue 137783011: Revert "Eliminatable CheckMaps replaced with if(true) or if(false)." (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
« no previous file with comments | « src/hydrogen-flow-engine.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 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 689 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 } 700 }
701 701
702 702
703 void HInstruction::PrintMnemonicTo(StringStream* stream) { 703 void HInstruction::PrintMnemonicTo(StringStream* stream) {
704 stream->Add("%s ", Mnemonic()); 704 stream->Add("%s ", Mnemonic());
705 } 705 }
706 706
707 707
708 void HInstruction::Unlink() { 708 void HInstruction::Unlink() {
709 ASSERT(IsLinked()); 709 ASSERT(IsLinked());
710 ASSERT(!IsControlInstruction()); // Must never move control instructions.
710 ASSERT(!IsBlockEntry()); // Doesn't make sense to delete these. 711 ASSERT(!IsBlockEntry()); // Doesn't make sense to delete these.
711 ASSERT(previous_ != NULL); 712 ASSERT(previous_ != NULL);
712 previous_->next_ = next_; 713 previous_->next_ = next_;
713 if (next_ == NULL) { 714 if (next_ == NULL) {
714 ASSERT(block()->last() == this); 715 ASSERT(block()->last() == this);
715 block()->set_last(previous_); 716 block()->set_last(previous_);
716 } else { 717 } else {
717 next_->previous_ = previous_; 718 next_->previous_ = previous_;
718 } 719 }
719 clear_block(); 720 clear_block();
(...skipping 3710 matching lines...) Expand 10 before | Expand all | Expand 10 after
4430 break; 4431 break;
4431 case kExternalMemory: 4432 case kExternalMemory:
4432 stream->Add("[external-memory]"); 4433 stream->Add("[external-memory]");
4433 break; 4434 break;
4434 } 4435 }
4435 4436
4436 stream->Add("@%d", offset()); 4437 stream->Add("@%d", offset());
4437 } 4438 }
4438 4439
4439 } } // namespace v8::internal 4440 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/hydrogen-flow-engine.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698