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

Side by Side Diff: pkg/compiler/lib/src/resolution/registry.dart

Issue 1306143002: Remove SendResolver.computeSendStructure. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix handling of invalid this access. Created 5 years, 3 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
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 library dart2js.resolution.registry; 5 library dart2js.resolution.registry;
6 6
7 import '../common/backend_api.dart' show 7 import '../common/backend_api.dart' show
8 Backend; 8 Backend;
9 import '../common/registry.dart' show 9 import '../common/registry.dart' show
10 Registry; 10 Registry;
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 409
410 void registerMetadataConstant(MetadataAnnotation metadata, 410 void registerMetadataConstant(MetadataAnnotation metadata,
411 Element annotatedElement) { 411 Element annotatedElement) {
412 backend.registerMetadataConstant(metadata, annotatedElement, this); 412 backend.registerMetadataConstant(metadata, annotatedElement, this);
413 } 413 }
414 414
415 void registerThrowRuntimeError() { 415 void registerThrowRuntimeError() {
416 backend.resolutionCallbacks.onThrowRuntimeError(this); 416 backend.resolutionCallbacks.onThrowRuntimeError(this);
417 } 417 }
418 418
419 void registerCompileTimeError(ErroneousElement error) {
420 backend.resolutionCallbacks.onCompileTimeError(this, error);
421 }
422
419 void registerTypeVariableBoundCheck() { 423 void registerTypeVariableBoundCheck() {
420 backend.resolutionCallbacks.onTypeVariableBoundCheck(this); 424 backend.resolutionCallbacks.onTypeVariableBoundCheck(this);
421 } 425 }
422 426
423 void registerThrowNoSuchMethod() { 427 void registerThrowNoSuchMethod() {
424 backend.resolutionCallbacks.onThrowNoSuchMethod(this); 428 backend.resolutionCallbacks.onThrowNoSuchMethod(this);
425 } 429 }
426 430
427 void registerIsCheck(DartType type) { 431 void registerIsCheck(DartType type) {
428 worldImpact.registerCheckedType(type); 432 worldImpact.registerCheckedType(type);
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
600 } 604 }
601 605
602 void registerAsyncMarker(FunctionElement element) { 606 void registerAsyncMarker(FunctionElement element) {
603 backend.registerAsyncMarker(element, world, this); 607 backend.registerAsyncMarker(element, world, this);
604 } 608 }
605 609
606 void registerAsyncForIn(AsyncForIn node) { 610 void registerAsyncForIn(AsyncForIn node) {
607 backend.resolutionCallbacks.onAsyncForIn(node, this); 611 backend.resolutionCallbacks.onAsyncForIn(node, this);
608 } 612 }
609 } 613 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/resolution/members.dart ('k') | pkg/compiler/lib/src/resolution/semantic_visitor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698