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

Unified Diff: pkg/fletchc/lib/src/debug_registry.dart

Issue 1450393002: Roll sdk dependency to 34357cdad108dcba734949bd13bd28c76ea285e0 (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Address ahe's review Created 5 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/fletchc/lib/src/codegen_visitor.dart ('k') | pkg/fletchc/lib/src/dynamic_call_enqueuer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/fletchc/lib/src/debug_registry.dart
diff --git a/pkg/fletchc/lib/src/debug_registry.dart b/pkg/fletchc/lib/src/debug_registry.dart
index adf4ced42115a75c291cea3a7ed6b3afca5cf940..786a2406022bfc37fc20498dc1cc5dbe725971cd 100644
--- a/pkg/fletchc/lib/src/debug_registry.dart
+++ b/pkg/fletchc/lib/src/debug_registry.dart
@@ -11,7 +11,8 @@ import 'package:compiler/src/elements/elements.dart' show
ClassElement,
FieldElement,
FunctionElement,
- LocalElement;
+ LocalElement,
+ Name;
import 'package:compiler/src/dart_types.dart' show
DartType;
@@ -19,10 +20,6 @@ import 'package:compiler/src/dart_types.dart' show
import 'package:compiler/src/diagnostics/spannable.dart' show
Spannable;
-import 'package:compiler/src/universe/use.dart' show
- DynamicUse,
- StaticUse;
-
import 'fletch_context.dart' show
FletchContext;
@@ -38,10 +35,8 @@ abstract class DebugRegistry {
FletchContext get context;
FletchFunctionBuilder get functionBuilder;
- void registerDynamicUse(Selector selector) { }
- void registerDynamicGetter(Selector selector) { }
- void registerDynamicSetter(Selector selector) { }
- void registerStaticUse(StaticUse use) { }
+ void registerDynamicSelector(Selector selector) { }
+ void registerStaticInvocation(FunctionElement element) { }
void registerInstantiatedClass(ClassElement klass) { }
void registerIsCheck(DartType type) { }
void registerLocalInvoke(LocalElement element, Selector selector) { }
@@ -54,9 +49,8 @@ abstract class DebugRegistry {
if (context.backend.lazyFieldInitializers.containsKey(field)) return index;
- context.compiler.reporter.internalError(
+ throw context.compiler.reporter.internalError(
field, "not compiled before use in debugger");
- throw null;
}
void generateUnimplementedError(Spannable spannable, String reason) {
« no previous file with comments | « pkg/fletchc/lib/src/codegen_visitor.dart ('k') | pkg/fletchc/lib/src/dynamic_call_enqueuer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698