Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: lib/compiler/implementation/compiler.dart

Issue 10854093: Revert "Implement call operator." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | lib/compiler/implementation/elements/elements.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 5
6 /** 6 /**
7 * If true, print a warning for each method that was resolved, but not 7 * If true, print a warning for each method that was resolved, but not
8 * compiled. 8 * compiled.
9 */ 9 */
10 final bool REPORT_EXCESS_RESOLUTION = false; 10 final bool REPORT_EXCESS_RESOLUTION = false;
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 PatchParserTask patchParser; 123 PatchParserTask patchParser;
124 TreeValidatorTask validator; 124 TreeValidatorTask validator;
125 ResolverTask resolver; 125 ResolverTask resolver;
126 TypeCheckerTask checker; 126 TypeCheckerTask checker;
127 ti.TypesTask typesTask; 127 ti.TypesTask typesTask;
128 Backend backend; 128 Backend backend;
129 ConstantHandler constantHandler; 129 ConstantHandler constantHandler;
130 EnqueueTask enqueuer; 130 EnqueueTask enqueuer;
131 131
132 static final SourceString MAIN = const SourceString('main'); 132 static final SourceString MAIN = const SourceString('main');
133 static final SourceString CALL_OPERATOR_NAME = const SourceString('call');
134 static final SourceString NO_SUCH_METHOD = const SourceString('noSuchMethod'); 133 static final SourceString NO_SUCH_METHOD = const SourceString('noSuchMethod');
135 static final SourceString NO_SUCH_METHOD_EXCEPTION = 134 static final SourceString NO_SUCH_METHOD_EXCEPTION =
136 const SourceString('NoSuchMethodException'); 135 const SourceString('NoSuchMethodException');
137 static final SourceString START_ROOT_ISOLATE = 136 static final SourceString START_ROOT_ISOLATE =
138 const SourceString('startRootIsolate'); 137 const SourceString('startRootIsolate');
139 bool enabledNoSuchMethod = false; 138 bool enabledNoSuchMethod = false;
140 139
141 Stopwatch progress; 140 Stopwatch progress;
142 141
143 static final int PHASE_SCANNING = 0; 142 static final int PHASE_SCANNING = 0;
(...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after
947 final endOffset = end.charOffset + end.slowCharCount; 946 final endOffset = end.charOffset + end.slowCharCount;
948 947
949 // [begin] and [end] might be the same for the same empty token. This 948 // [begin] and [end] might be the same for the same empty token. This
950 // happens for instance when scanning '$$'. 949 // happens for instance when scanning '$$'.
951 assert(endOffset >= beginOffset); 950 assert(endOffset >= beginOffset);
952 return f(beginOffset, endOffset); 951 return f(beginOffset, endOffset);
953 } 952 }
954 953
955 String toString() => 'SourceSpan($uri, $begin, $end)'; 954 String toString() => 'SourceSpan($uri, $begin, $end)';
956 } 955 }
OLDNEW
« no previous file with comments | « no previous file | lib/compiler/implementation/elements/elements.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698