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

Unified Diff: pkg/compiler/lib/src/ssa/ssa_branch_builder.dart

Issue 2306203002: Rename HForeignNew -> HCreate (Closed)
Patch Set: comments and reformat Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/ssa/optimize.dart ('k') | pkg/compiler/lib/src/ssa/ssa_tracer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/ssa/ssa_branch_builder.dart
diff --git a/pkg/compiler/lib/src/ssa/ssa_branch_builder.dart b/pkg/compiler/lib/src/ssa/ssa_branch_builder.dart
index b9c34fb59995413631c7da489fc7ed6f9c62da67..c0dfa0b15f94b7c580a8550deee56abcb66e53c4 100644
--- a/pkg/compiler/lib/src/ssa/ssa_branch_builder.dart
+++ b/pkg/compiler/lib/src/ssa/ssa_branch_builder.dart
@@ -52,12 +52,12 @@ class SsaBranchBuilder {
conditionExitBlock.addSuccessor(thenBranch.block);
conditionExitBlock.addSuccessor(elseBranch.block);
bool conditionBranchLocalsCanBeReused =
- mergeLocals(conditionBranch, thenBranch, mayReuseFromLocals: true);
+ mergeLocals(conditionBranch, thenBranch, mayReuseFromLocals: true);
mergeLocals(conditionBranch, elseBranch,
mayReuseFromLocals: conditionBranchLocalsCanBeReused);
conditionBranch.graph =
- new SubExpression(conditionBranch.block, conditionExitBlock);
+ new SubExpression(conditionBranch.block, conditionExitBlock);
}
/**
@@ -194,9 +194,9 @@ class SsaBranchBuilder {
buildCondition(visitCondition, conditionBranch, thenBranch, elseBranch,
sourceInformation);
HInstruction thenValue =
- buildBranch(thenBranch, visitThen, joinBranch, isExpression);
+ buildBranch(thenBranch, visitThen, joinBranch, isExpression);
HInstruction elseValue =
- buildBranch(elseBranch, visitElse, joinBranch, isExpression);
+ buildBranch(elseBranch, visitElse, joinBranch, isExpression);
if (isExpression) {
assert(thenValue != null && elseValue != null);
@@ -226,4 +226,4 @@ class SsaBranchBuilder {
assert(branch is HIf);
branch.blockInformation = conditionStartBlock.blockFlow;
}
-}
+}
« no previous file with comments | « pkg/compiler/lib/src/ssa/optimize.dart ('k') | pkg/compiler/lib/src/ssa/ssa_tracer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698