Revision: 7641 Author: [email protected] Date: Sun Apr 17 23:20:04 2011 Log: Fix presubmit error by renaming variable names.
Presubmit thinks } followed by newline followed by a variable name else_* is an if else statement. Review URL: http://codereview.chromium.org/6864006 http://code.google.com/p/v8/source/detail?r=7641 Modified: /branches/3.0/src/hydrogen.cc /branches/3.0/src/version.cc ======================================= --- /branches/3.0/src/hydrogen.cc Wed Mar 9 05:10:51 2011 +++ /branches/3.0/src/hydrogen.cc Sun Apr 17 23:20:04 2011 @@ -2901,28 +2901,28 @@ void HGraphBuilder::VisitConditional(Conditional* expr) { - HSubgraph* then_graph = CreateEmptySubgraph(); - HSubgraph* else_graph = CreateEmptySubgraph(); + HSubgraph* true_graph = CreateEmptySubgraph(); + HSubgraph* false_graph = CreateEmptySubgraph(); VISIT_FOR_CONTROL(expr->condition(), - then_graph->entry_block(), - else_graph->entry_block()); + true_graph->entry_block(), + false_graph->entry_block()); // Visit the true and false subexpressions in the same AST context as the // whole expression. - then_graph->entry_block()->SetJoinId(expr->ThenId()); - { SubgraphScope scope(this, then_graph); + true_graph->entry_block()->SetJoinId(expr->ThenId()); + { SubgraphScope scope(this, true_graph); Visit(expr->then_expression()); CHECK_BAILOUT; } - else_graph->entry_block()->SetJoinId(expr->ElseId()); - { SubgraphScope scope(this, else_graph); + false_graph->entry_block()->SetJoinId(expr->ElseId()); + { SubgraphScope scope(this, false_graph); Visit(expr->else_expression()); CHECK_BAILOUT; } if (!ast_context()->IsTest()) { - subgraph()->AppendJoin(then_graph, else_graph, expr); + subgraph()->AppendJoin(true_graph, false_graph, expr); } } ======================================= --- /branches/3.0/src/version.cc Thu Apr 7 01:25:28 2011 +++ /branches/3.0/src/version.cc Sun Apr 17 23:20:04 2011 @@ -35,7 +35,7 @@ #define MAJOR_VERSION 3 #define MINOR_VERSION 0 #define BUILD_NUMBER 12 -#define PATCH_LEVEL 38 +#define PATCH_LEVEL 39 #define CANDIDATE_VERSION false // Define SONAME to have the SCons build the put a specific SONAME into the -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
