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

Unified Diff: pkg/compiler/lib/src/cps_ir/redundant_join.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: Long line 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/redundant_join.dart
diff --git a/pkg/compiler/lib/src/cps_ir/redundant_join.dart b/pkg/compiler/lib/src/cps_ir/redundant_join.dart
index 4acb2ef438b834dbe6a7924d8c9a6c895ecd679f..f35db015b03622f1210b2ddb7b99627e65fb8570 100644
--- a/pkg/compiler/lib/src/cps_ir/redundant_join.dart
+++ b/pkg/compiler/lib/src/cps_ir/redundant_join.dart
@@ -248,6 +248,7 @@ class AlphaRenamer extends RecursiveVisitor {
// create a new parameter object for this continuation.
if (param.parent != cont) {
Parameter newParam = new Parameter(param.hint);
+ newParam.type = param.type;
renaming[param] = newParam;
cont.parameters[i] = newParam;
newParam.parent = cont;

Powered by Google App Engine
This is Rietveld 408576698