Chromium Code Reviews| 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; |
|
lukas
2013/11/28 13:06:23
I don't understand this part.
ngeoffray
2013/11/28 13:08:58
It's not related to the bug, just something I disc
|
| JavaScriptItemCompilationContext context = work.compilationContext; |
| context.allocatedFixedLists.add(newInstance); |
| } |