| Index: pkg/compiler/lib/src/js_backend/codegen/glue.dart
|
| diff --git a/pkg/compiler/lib/src/js_backend/codegen/glue.dart b/pkg/compiler/lib/src/js_backend/codegen/glue.dart
|
| index 26d5a75df2a7b2759b435bc2b22e79d9d7efb644..83370ee5b1b333b5068f15ee0b93d3a8184e6680 100644
|
| --- a/pkg/compiler/lib/src/js_backend/codegen/glue.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/codegen/glue.dart
|
| @@ -10,6 +10,7 @@ import '../../js_emitter/js_emitter.dart';
|
| import '../../js/js.dart' as js;
|
| import '../../constants/values.dart';
|
| import '../../elements/elements.dart';
|
| +import '../../constants/expressions.dart';
|
|
|
| /// Encapsulates the dependencies of the function-compiler to the compiler,
|
| /// backend and emitter.
|
| @@ -33,6 +34,10 @@ class Glue {
|
| _compiler.internalError(_compiler.currentElement, message);
|
| }
|
|
|
| + ConstantExpression getConstantForVariable(VariableElement variable) {
|
| + return _backend.constants.getConstantForVariable(variable);
|
| + }
|
| +
|
| js.Expression elementAccess(Element element) {
|
| return _namer.elementAccess(element);
|
| }
|
| @@ -42,4 +47,6 @@ class Glue {
|
| }
|
| ClassElement get listClass => _compiler.listClass;
|
|
|
| + FunctionElement get identicalFunction => _compiler.identicalFunction;
|
| +
|
| }
|
|
|