| Index: sdk/lib/_internal/compiler/implementation/ssa/builder.dart
|
| ===================================================================
|
| --- sdk/lib/_internal/compiler/implementation/ssa/builder.dart (revision 30759)
|
| +++ sdk/lib/_internal/compiler/implementation/ssa/builder.dart (working copy)
|
| @@ -3958,6 +3958,9 @@
|
| }
|
| HInstruction newInstance = stack.last;
|
| if (isFixedList) {
|
| + // Overwrite the element type, in case the allocation site has
|
| + // been inlined.
|
| + newInstance.instructionType = elementType;
|
| JavaScriptItemCompilationContext context = work.compilationContext;
|
| context.allocatedFixedLists.add(newInstance);
|
| }
|
|
|