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

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

Issue 2989453002: Add support for compiling Dart via the FE in dart2js. (Closed)
Patch Set: update status Created 3 years, 5 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/backend_impact.dart
diff --git a/pkg/compiler/lib/src/js_backend/backend_impact.dart b/pkg/compiler/lib/src/js_backend/backend_impact.dart
index 52f371ecea4df316e6790153099766cd59694a94..2a2b95d606167be151c058d15bcdfb42e702c4ff 100644
--- a/pkg/compiler/lib/src/js_backend/backend_impact.dart
+++ b/pkg/compiler/lib/src/js_backend/backend_impact.dart
@@ -203,12 +203,12 @@ class BackendImpacts {
BackendImpact get throwNoSuchMethod {
return _throwNoSuchMethod ??= new BackendImpact(
- instantiatedClasses: _options.useKernel
+ instantiatedClasses: _options.useKernelInSsa
? [
_commonElements.symbolImplementationClass,
]
: [],
- staticUses: _options.useKernel
+ staticUses: _options.useKernelInSsa
? [
_commonElements.genericNoSuchMethod,
_commonElements.unresolvedConstructorError,
@@ -287,7 +287,7 @@ class BackendImpacts {
BackendImpact get throwRuntimeError {
return _throwRuntimeError ??= new BackendImpact(
- staticUses: _options.useKernel
+ staticUses: _options.useKernelInSsa
? [
// TODO(sra): Refactor impacts so that we know which of these
// are called.
@@ -505,7 +505,7 @@ class BackendImpacts {
BackendImpact get malformedTypeCheck {
return _malformedTypeCheck ??= new BackendImpact(
- staticUses: _options.useKernel
+ staticUses: _options.useKernelInSsa
? [
_commonElements.malformedTypeError,
]

Powered by Google App Engine
This is Rietveld 408576698