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

Unified Diff: pkg/compiler/lib/src/js_backend/codegen/glue.dart

Issue 1148343004: Remove ConstantExpression.value (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Update comments. Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
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 50fea4fdba64eaf4d8fbc1b31105e5d07a021642..4cdc447abb27603a2590edd995bed678c6cef526 100644
--- a/pkg/compiler/lib/src/js_backend/codegen/glue.dart
+++ b/pkg/compiler/lib/src/js_backend/codegen/glue.dart
@@ -44,8 +44,8 @@ class Glue {
_compiler.internalError(_compiler.currentElement, message);
}
- ConstantExpression getConstantForVariable(VariableElement variable) {
- return _backend.constants.getConstantForVariable(variable);
+ ConstantValue getConstantValueForVariable(VariableElement variable) {
+ return _backend.constants.getConstantValueForVariable(variable);
}
js.Expression staticFunctionAccess(FunctionElement element) {
« no previous file with comments | « pkg/compiler/lib/src/js_backend/codegen/codegen.dart ('k') | pkg/compiler/lib/src/js_backend/codegen/unsugar.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698