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

Unified Diff: pkg/compiler/lib/src/compiler.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
« no previous file with comments | « pkg/compiler/lib/src/compile_time_constants.dart ('k') | pkg/compiler/lib/src/constants/constructors.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/compiler.dart
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
index 98afea3bf6f88610f998b5ef6c8858e808d15112..e6d214c4ddf9faabf7493a9c3303b6eab1439a1f 100644
--- a/pkg/compiler/lib/src/compiler.dart
+++ b/pkg/compiler/lib/src/compiler.dart
@@ -1380,8 +1380,9 @@ abstract class Compiler implements DiagnosticListener {
functionApplyMethod = functionClass.lookupLocalMember('apply');
proxyConstant =
- resolver.constantCompiler.compileConstant(
- coreLibrary.find('proxy')).value;
+ constants.getConstantValue(
+ resolver.constantCompiler.compileConstant(
+ coreLibrary.find('proxy')));
if (preserveComments) {
return libraryLoader.loadLibrary(DART_MIRRORS)
« no previous file with comments | « pkg/compiler/lib/src/compile_time_constants.dart ('k') | pkg/compiler/lib/src/constants/constructors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698