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

Unified Diff: pkg/compiler/lib/src/cps_ir/mutable_ssa.dart

Issue 1305863010: dart2js cps: Store the TypeMask for each primitive in a field. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Rebase Created 5 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
Index: pkg/compiler/lib/src/cps_ir/mutable_ssa.dart
diff --git a/pkg/compiler/lib/src/cps_ir/mutable_ssa.dart b/pkg/compiler/lib/src/cps_ir/mutable_ssa.dart
index d01c3f5e33e2ce48f9ef4e3227ff766bf84a9308..3dea17c0ba40cf1418c74a096b7e34dcecd095c0 100644
--- a/pkg/compiler/lib/src/cps_ir/mutable_ssa.dart
+++ b/pkg/compiler/lib/src/cps_ir/mutable_ssa.dart
@@ -191,6 +191,7 @@ class MutableVariableEliminator implements Pass {
<MutableVariable, Primitive>{};
for (MutableVariable variable in mutableVariables) {
Parameter phi = new Parameter(variable.hint);
+ phi.type = variable.type;
cont.parameters.add(phi);
phi.parent = cont;
environment[variable] = phi;
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/loop_invariant_code_motion.dart ('k') | pkg/compiler/lib/src/cps_ir/redundant_join.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698