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

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

Issue 1188103002: Do not mark type variables as needing a box inside try; they are immutable. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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/closure.dart ('k') | tests/language/regress_23650_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/ssa/builder.dart
diff --git a/pkg/compiler/lib/src/ssa/builder.dart b/pkg/compiler/lib/src/ssa/builder.dart
index 0ef26591b908ce4d5ecb0c34336f8993d993030a..6870ecb53ab37ce49816bd21571ceed387ae5838 100644
--- a/pkg/compiler/lib/src/ssa/builder.dart
+++ b/pkg/compiler/lib/src/ssa/builder.dart
@@ -2446,7 +2446,8 @@ class SsaBuilder extends NewResolvedVisitor {
String name = kind == HTypeConversion.CAST_TYPE_CHECK
? '_asCheck' : '_assertCheck';
- List arguments = [buildFunctionType(type), original];
+ List<HInstruction> arguments =
+ <HInstruction>[buildFunctionType(type), original];
pushInvokeDynamic(
null,
new Selector.call(name, backend.jsHelperLibrary, 1),
« no previous file with comments | « pkg/compiler/lib/src/closure.dart ('k') | tests/language/regress_23650_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698