| Index: sdk/lib/_internal/compiler/implementation/ssa/builder.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
|
| index de05abe2ba468c18811753b099249a3fc0e27ed5..2519c4fdbabce98ba7fd161277733ff3a47c273c 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
|
| @@ -2024,8 +2024,6 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
|
| push(attachPosition(instruction, node));
|
| }
|
|
|
| - HInstruction peek() => stack.last;
|
| -
|
| HInstruction pop() {
|
| return stack.removeLast();
|
| }
|
| @@ -4521,16 +4519,6 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
|
| }
|
| }
|
|
|
| - void setRtiIfNeeded(HInstruction object, Node node) {
|
| - InterfaceType type = elements.getType(node);
|
| - if (!backend.classNeedsRti(type.element)) return;
|
| - List<HInstruction> arguments = <HInstruction>[];
|
| - for (DartType argument in type.typeArguments) {
|
| - arguments.add(analyzeTypeArgument(argument));
|
| - }
|
| - callSetRuntimeTypeInfo(type.element, arguments, object);
|
| - }
|
| -
|
| visitLiteralList(LiteralList node) {
|
| HInstruction instruction;
|
|
|
| @@ -4546,7 +4534,6 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
|
| }
|
| instruction = buildLiteralList(inputs);
|
| add(instruction);
|
| - setRtiIfNeeded(instruction, node);
|
| }
|
|
|
| TypeMask type =
|
| @@ -4749,7 +4736,6 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
|
| add(keyValuePairs);
|
| TypeMask mapType = new TypeMask.nonNullSubtype(backend.mapLiteralClass);
|
| pushInvokeStatic(node, backend.getMapMaker(), [keyValuePairs], mapType);
|
| - setRtiIfNeeded(peek(), node);
|
| }
|
|
|
| visitLiteralMapEntry(LiteralMapEntry node) {
|
|
|