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

Side by Side Diff: src/hydrogen.cc

Issue 14328042: Remove unused member variables in IfBuilder (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 8 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.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 696 matching lines...) Expand 10 before | Expand all | Expand 10 after
707 return GetConstantInt32(&constant_invalid_context_, 0xFFFFC0C7); 707 return GetConstantInt32(&constant_invalid_context_, 0xFFFFC0C7);
708 } 708 }
709 709
710 710
711 HGraphBuilder::IfBuilder::IfBuilder(HGraphBuilder* builder, int position) 711 HGraphBuilder::IfBuilder::IfBuilder(HGraphBuilder* builder, int position)
712 : builder_(builder), 712 : builder_(builder),
713 position_(position), 713 position_(position),
714 finished_(false), 714 finished_(false),
715 did_then_(false), 715 did_then_(false),
716 did_else_(false), 716 did_else_(false),
717 deopt_then_(false),
718 deopt_else_(false),
719 did_and_(false), 717 did_and_(false),
720 did_or_(false), 718 did_or_(false),
721 captured_(false), 719 captured_(false),
722 needs_compare_(true), 720 needs_compare_(true),
723 split_edge_merge_block_(NULL) { 721 split_edge_merge_block_(NULL) {
724 HEnvironment* env = builder->environment(); 722 HEnvironment* env = builder->environment();
725 first_true_block_ = builder->CreateBasicBlock(env->Copy()); 723 first_true_block_ = builder->CreateBasicBlock(env->Copy());
726 last_true_block_ = NULL; 724 last_true_block_ = NULL;
727 first_false_block_ = builder->CreateBasicBlock(env->Copy()); 725 first_false_block_ = builder->CreateBasicBlock(env->Copy());
728 } 726 }
729 727
730 728
731 HGraphBuilder::IfBuilder::IfBuilder( 729 HGraphBuilder::IfBuilder::IfBuilder(
732 HGraphBuilder* builder, 730 HGraphBuilder* builder,
733 HIfContinuation* continuation) 731 HIfContinuation* continuation)
734 : builder_(builder), 732 : builder_(builder),
735 position_(RelocInfo::kNoPosition), 733 position_(RelocInfo::kNoPosition),
736 finished_(false), 734 finished_(false),
737 did_then_(false), 735 did_then_(false),
738 did_else_(false), 736 did_else_(false),
739 deopt_then_(false),
740 deopt_else_(false),
741 did_and_(false), 737 did_and_(false),
742 did_or_(false), 738 did_or_(false),
743 captured_(false), 739 captured_(false),
744 needs_compare_(false), 740 needs_compare_(false),
745 first_true_block_(NULL), 741 first_true_block_(NULL),
746 first_false_block_(NULL), 742 first_false_block_(NULL),
747 split_edge_merge_block_(NULL), 743 split_edge_merge_block_(NULL),
748 merge_block_(NULL) { 744 merge_block_(NULL) {
749 continuation->Continue(&first_true_block_, 745 continuation->Continue(&first_true_block_,
750 &first_false_block_, 746 &first_false_block_,
(...skipping 11123 matching lines...) Expand 10 before | Expand all | Expand 10 after
11874 } 11870 }
11875 } 11871 }
11876 11872
11877 #ifdef DEBUG 11873 #ifdef DEBUG
11878 if (graph_ != NULL) graph_->Verify(false); // No full verify. 11874 if (graph_ != NULL) graph_->Verify(false); // No full verify.
11879 if (allocator_ != NULL) allocator_->Verify(); 11875 if (allocator_ != NULL) allocator_->Verify();
11880 #endif 11876 #endif
11881 } 11877 }
11882 11878
11883 } } // namespace v8::internal 11879 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/hydrogen.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698