Index: pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart |
diff --git a/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart b/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart |
index 1351c9ab4aaa5bc42f7cff20ac5713f66f4ff7ba..a5b537e34f0d5f76cb068460b4ca42673cca8ba2 100644 |
--- a/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart |
+++ b/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart |
@@ -87,6 +87,10 @@ class KernelAstAdapter extends KernelToElementMapBaseMixin |
_typeConverter = new DartTypeConverter(this); |
} |
+ void addProgram(ir.Program node) { |
+ throw new UnsupportedError('KernelAstAdapter.addProgram'); |
+ } |
+ |
@override |
ConstantValue computeConstantValue(ConstantExpression constant, |
{bool requireConstant: true}) { |
@@ -139,6 +143,10 @@ class KernelAstAdapter extends KernelToElementMapBaseMixin |
return target; |
} |
+ ir.Node getClassNode(ClassElement cls) { |
+ throw new UnsupportedError('KernelAstAdapter.getClassNode'); |
+ } |
+ |
@override |
CommonElements get commonElements => _compiler.resolution.commonElements; |