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

Unified Diff: pkg/compiler/lib/src/js_backend/backend.dart

Issue 2916893002: Handle int constant (Closed)
Patch Set: Updated cf. comments Created 3 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/frontend_strategy.dart ('k') | pkg/compiler/lib/src/js_backend/codegen_listener.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/js_backend/backend.dart
diff --git a/pkg/compiler/lib/src/js_backend/backend.dart b/pkg/compiler/lib/src/js_backend/backend.dart
index 413f4c7abc9a547b606ff2737301bbb986866c7a..5761fa8d43e478aea26211edbfbc450254207d33 100644
--- a/pkg/compiler/lib/src/js_backend/backend.dart
+++ b/pkg/compiler/lib/src/js_backend/backend.dart
@@ -803,9 +803,12 @@ class JavaScriptBackend {
_backendUsageBuilder,
compiler.frontEndStrategy.createNativeClassFinder(nativeBasicData));
_nativeDataBuilder = new NativeDataBuilderImpl(nativeBasicData);
- _customElementsResolutionAnalysis = compiler.frontEndStrategy
- .createCustomElementsResolutionAnalysis(
- nativeBasicData, _backendUsageBuilder);
+ _customElementsResolutionAnalysis = new CustomElementsResolutionAnalysis(
+ constantSystem,
+ compiler.elementEnvironment,
+ commonElements,
+ nativeBasicData,
+ _backendUsageBuilder);
impactTransformer = new JavaScriptImpactTransformer(
compiler.options,
compiler.elementEnvironment,
@@ -869,7 +872,10 @@ class JavaScriptBackend {
lookupMapResolutionAnalysis);
_mirrorsCodegenAnalysis = mirrorsResolutionAnalysis.close();
_customElementsCodegenAnalysis = new CustomElementsCodegenAnalysis(
- compiler.resolution, constantSystem, commonElements, nativeBasicData);
+ constantSystem,
+ commonElements,
+ compiler.elementEnvironment,
+ nativeBasicData);
_nativeCodegenEnqueuer = new native.NativeCodegenEnqueuer(
compiler.options,
compiler.elementEnvironment,
« no previous file with comments | « pkg/compiler/lib/src/frontend_strategy.dart ('k') | pkg/compiler/lib/src/js_backend/codegen_listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698