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

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

Issue 2984183002: dart2js-kernel: Recognize some List constructors. (Closed)
Patch Set: Use elementEnvironement to build type Created 3 years, 5 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/ssa/graph_builder.dart
diff --git a/pkg/compiler/lib/src/ssa/graph_builder.dart b/pkg/compiler/lib/src/ssa/graph_builder.dart
index 3872abfc102faa4d00780dd2e44b3cb4dcd970eb..f8770bcbdc7b8cbf5d19d8180deeec5c6f1f0608 100644
--- a/pkg/compiler/lib/src/ssa/graph_builder.dart
+++ b/pkg/compiler/lib/src/ssa/graph_builder.dart
@@ -252,6 +252,10 @@ abstract class GraphBuilder {
localsHandler.directLocals[local] != null;
}
+ HLiteralList buildLiteralList(List<HInstruction> inputs) {
+ return new HLiteralList(inputs, commonMasks.extendableArrayType);
+ }
+
HInstruction callSetRuntimeTypeInfoWithTypeArguments(InterfaceType type,
List<HInstruction> rtiInputs, HInstruction newObject) {
if (!rtiNeed.classNeedsRti(type.element)) {
« no previous file with comments | « pkg/compiler/lib/src/ssa/builder_kernel.dart ('k') | tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698