| Index: dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart
|
| diff --git a/dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart b/dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart
|
| index 3e04dc9fb3c24d8f3853847fbddfd11ebb96ef65..d59beea999d15dcb589e22713f49106e01a23ee4 100644
|
| --- a/dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart
|
| +++ b/dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart
|
| @@ -528,12 +528,6 @@ class ResolverTask extends CompilerTask {
|
| return new ResolverVisitor(compiler, element, mapping);
|
| }
|
|
|
| - void visitBody(ResolverVisitor visitor, Statement body) {
|
| - if (!compiler.analyzeSignaturesOnly) {
|
| - visitor.visit(body);
|
| - }
|
| - }
|
| -
|
| TreeElements resolveField(VariableElement element) {
|
| Node tree = element.parseNode(compiler);
|
| if(element.modifiers.isStatic() && element.variables.isTopLevel()) {
|
| @@ -1424,16 +1418,6 @@ class InitializerResolver {
|
| }
|
| }
|
|
|
| - FunctionElement resolveRedirection(FunctionElement constructor,
|
| - FunctionExpression functionNode) {
|
| - if (functionNode.initializers == null) return null;
|
| - Link<Node> link = functionNode.initializers.nodes;
|
| - if (!link.isEmpty && Initializers.isConstructorRedirect(link.head)) {
|
| - return resolveSuperOrThisForSend(constructor, functionNode, link.head);
|
| - }
|
| - return null;
|
| - }
|
| -
|
| /**
|
| * Resolve all initializers of this constructor. In the case of a redirecting
|
| * constructor, the resolved constructor's function element is returned.
|
| @@ -1528,20 +1512,12 @@ class CommonResolverVisitor<R> extends Visitor<R> {
|
| compiler.reportFatalError(node, kind, arguments);
|
| }
|
|
|
| - void dualError(Node node, DualKind kind, [Map arguments = const {}]) {
|
| - error(node, kind.error, arguments);
|
| - }
|
| -
|
| void warning(Node node, MessageKind kind, [Map arguments = const {}]) {
|
| ResolutionWarning message =
|
| new ResolutionWarning(kind, arguments, compiler.terseDiagnostics);
|
| compiler.reportWarning(node, message);
|
| }
|
|
|
| - void dualWarning(Node node, DualKind kind, [Map arguments = const {}]) {
|
| - warning(node, kind.warning, arguments);
|
| - }
|
| -
|
| void cancel(Node node, String message) {
|
| compiler.cancel(message, node: node);
|
| }
|
| @@ -2334,11 +2310,6 @@ class ResolverVisitor extends MappingVisitor<Element> {
|
| visitIn(node.elsePart, new BlockScope(scope));
|
| }
|
|
|
| - static bool isLogicalOperator(Identifier op) {
|
| - String str = op.source;
|
| - return (identical(str, '&&') || str == '||' || str == '!');
|
| - }
|
| -
|
| Element resolveSend(Send node) {
|
| Selector selector = resolveSelector(node, null);
|
| if (node.isSuperCall) mapping.superUses.add(node);
|
|
|