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

Side by Side Diff: src/hydrogen.cc

Issue 23976005: Fix missing initialization of last_true_block_ in IfBuilder. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 709 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 finished_(false), 720 finished_(false),
721 deopt_then_(false), 721 deopt_then_(false),
722 deopt_else_(false), 722 deopt_else_(false),
723 did_then_(false), 723 did_then_(false),
724 did_else_(false), 724 did_else_(false),
725 did_and_(false), 725 did_and_(false),
726 did_or_(false), 726 did_or_(false),
727 captured_(false), 727 captured_(false),
728 needs_compare_(false), 728 needs_compare_(false),
729 first_true_block_(NULL), 729 first_true_block_(NULL),
730 last_true_block_(NULL),
730 first_false_block_(NULL), 731 first_false_block_(NULL),
731 split_edge_merge_block_(NULL), 732 split_edge_merge_block_(NULL),
732 merge_block_(NULL) { 733 merge_block_(NULL) {
733 continuation->Continue(&first_true_block_, 734 continuation->Continue(&first_true_block_,
734 &first_false_block_, 735 &first_false_block_,
735 &position_); 736 &position_);
736 } 737 }
737 738
738 739
739 void HGraphBuilder::IfBuilder::AddCompare(HControlInstruction* compare) { 740 void HGraphBuilder::IfBuilder::AddCompare(HControlInstruction* compare) {
(...skipping 8876 matching lines...) Expand 10 before | Expand all | Expand 10 after
9616 if (ShouldProduceTraceOutput()) { 9617 if (ShouldProduceTraceOutput()) {
9617 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); 9618 isolate()->GetHTracer()->TraceHydrogen(name(), graph_);
9618 } 9619 }
9619 9620
9620 #ifdef DEBUG 9621 #ifdef DEBUG
9621 graph_->Verify(false); // No full verify. 9622 graph_->Verify(false); // No full verify.
9622 #endif 9623 #endif
9623 } 9624 }
9624 9625
9625 } } // namespace v8::internal 9626 } } // 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