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

Side by Side 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, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library code_generator_dependencies; 5 library code_generator_dependencies;
6 6
7 import '../js_backend.dart'; 7 import '../js_backend.dart';
8 import '../../dart2jslib.dart'; 8 import '../../dart2jslib.dart';
9 import '../../js_emitter/js_emitter.dart'; 9 import '../../js_emitter/js_emitter.dart';
10 import '../../js/js.dart' as js; 10 import '../../js/js.dart' as js;
(...skipping 26 matching lines...) Expand all
37 } 37 }
38 38
39 Element getStringConversion() { 39 Element getStringConversion() {
40 return _backend.getStringInterpolationHelper(); 40 return _backend.getStringInterpolationHelper();
41 } 41 }
42 42
43 reportInternalError(String message) { 43 reportInternalError(String message) {
44 _compiler.internalError(_compiler.currentElement, message); 44 _compiler.internalError(_compiler.currentElement, message);
45 } 45 }
46 46
47 ConstantExpression getConstantForVariable(VariableElement variable) { 47 ConstantValue getConstantValueForVariable(VariableElement variable) {
48 return _backend.constants.getConstantForVariable(variable); 48 return _backend.constants.getConstantValueForVariable(variable);
49 } 49 }
50 50
51 js.Expression staticFunctionAccess(FunctionElement element) { 51 js.Expression staticFunctionAccess(FunctionElement element) {
52 return _backend.emitter.staticFunctionAccess(element); 52 return _backend.emitter.staticFunctionAccess(element);
53 } 53 }
54 54
55 js.Expression isolateStaticClosureAccess(FunctionElement element) { 55 js.Expression isolateStaticClosureAccess(FunctionElement element) {
56 return _backend.emitter.isolateStaticClosureAccess(element); 56 return _backend.emitter.isolateStaticClosureAccess(element);
57 } 57 }
58 58
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 } 223 }
224 224
225 bool operatorEqHandlesNullArgument(FunctionElement element) { 225 bool operatorEqHandlesNullArgument(FunctionElement element) {
226 return _backend.operatorEqHandlesNullArgument(element); 226 return _backend.operatorEqHandlesNullArgument(element);
227 } 227 }
228 228
229 bool hasStrictSubtype(ClassElement element) { 229 bool hasStrictSubtype(ClassElement element) {
230 return _compiler.world.hasAnyStrictSubtype(element); 230 return _compiler.world.hasAnyStrictSubtype(element);
231 } 231 }
232 } 232 }
OLDNEW
« 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