Chromium Code Reviews| Index: lib/compiler/implementation/ssa/builder.dart |
| =================================================================== |
| --- lib/compiler/implementation/ssa/builder.dart (revision 6728) |
| +++ lib/compiler/implementation/ssa/builder.dart (working copy) |
| @@ -2156,7 +2156,7 @@ |
| ClassElement cls = element.enclosingElement; |
| type = new HNonPrimitiveType(cls.type); |
| } else if (element.isFactoryConstructor() |
|
floitsch
2012/04/19 10:50:32
Since we need to look at the original non-forwarde
ngeoffray
2012/04/19 16:17:52
Done.
|
| - && element === compiler.listClass) { |
| + && elements[node].enclosingElement === compiler.listClass) { |
| type = HType.MUTABLE_ARRAY; |
| } |
| push(new HInvokeStatic(selector, inputs, type)); |