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

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

Issue 1808133002: Revert "Use JS backend in serialization_analysis_test" (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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/common/resolution.dart ('k') | pkg/compiler/lib/src/elements/common.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 b96ec2a415ec1e7b529e206c15ca7788fca249b3..9bfb7ebe917bbc29dac6a02814db96783e84a2f4 100644
--- a/pkg/compiler/lib/src/compiler.dart
+++ b/pkg/compiler/lib/src/compiler.dart
@@ -34,7 +34,6 @@ import 'common/tasks.dart' show
CompilerTask,
GenericTask;
import 'common/work.dart' show
- ItemCompilationContext,
WorkItem;
import 'compile_time_constants.dart';
import 'constants/values.dart';
@@ -2142,7 +2141,6 @@ class _CompilerResolution implements Resolution {
@override
void uncacheWorldImpact(Element element) {
- if (compiler.serialization.isDeserialized(element)) return;
assert(invariant(element, _worldImpactCache[element] != null,
message: "WorldImpact not computed for $element."));
_worldImpactCache[element] = const WorldImpact();
@@ -2159,17 +2157,6 @@ class _CompilerResolution implements Resolution {
bool hasBeenResolved(Element element) {
return _worldImpactCache.containsKey(element);
}
-
- @override
- ResolutionWorkItem createWorkItem(
- Element element, ItemCompilationContext compilationContext) {
- if (compiler.serialization.isDeserialized(element)) {
- return compiler.serialization.createResolutionWorkItem(
- element, compilationContext);
- } else {
- return new ResolutionWorkItem(element, compilationContext);
- }
- }
}
// TODO(johnniwinther): Move [ParserTask], [PatchParserTask], [DietParserTask]
« no previous file with comments | « pkg/compiler/lib/src/common/resolution.dart ('k') | pkg/compiler/lib/src/elements/common.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698