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

Unified Diff: src/hydrogen.cc

Issue 6864006: Fix presubmit error by renaming variable names. (Closed) Base URL: http://v8.googlecode.com/svn/branches/3.0/
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/version.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen.cc
===================================================================
--- src/hydrogen.cc (revision 7607)
+++ src/hydrogen.cc (working copy)
@@ -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);
}
}
« no previous file with comments | « no previous file | src/version.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698