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

Unified Diff: pkg/compiler/lib/src/js_emitter/full_emitter/setup_program_builder.dart

Issue 2668233002: Remove code supporting incremental compilation in dart2js (Closed)
Patch Set: Created 3 years, 11 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_emitter/full_emitter/setup_program_builder.dart
diff --git a/pkg/compiler/lib/src/js_emitter/full_emitter/setup_program_builder.dart b/pkg/compiler/lib/src/js_emitter/full_emitter/setup_program_builder.dart
index a8dc281852d2c19ee3715307976ecee989ffe4c4..402845b41f3be403414b2d30cfd6d0c84a0fb6db 100644
--- a/pkg/compiler/lib/src/js_emitter/full_emitter/setup_program_builder.dart
+++ b/pkg/compiler/lib/src/js_emitter/full_emitter/setup_program_builder.dart
@@ -111,8 +111,6 @@ jsAst.Statement buildSetupProgram(Program program, Compiler compiler,
'deferredAction': namer.deferredAction,
'hasIsolateSupport': program.hasIsolateSupport,
'fieldNamesProperty': js.string(Emitter.FIELD_NAMES_PROPERTY_NAME),
- 'hasIncrementalSupport': compiler.options.hasIncrementalSupport,
- 'incrementalHelper': namer.accessIncrementalHelper,
'createNewIsolateFunction': createNewIsolateFunctionAccess,
'isolateName': namer.isolateName,
'classIdExtractor': classIdExtractorAccess,
@@ -256,10 +254,6 @@ function $setupProgramName(programData, typesOffset) {
return str;
}
- if (#hasIncrementalSupport) {
- #incrementalHelper.defineClass = defineClass;
- }
-
if (#hasIsolateSupport) {
#createNewIsolateFunction = function() { return new #isolateName(); };
@@ -318,10 +312,6 @@ function $setupProgramName(programData, typesOffset) {
};
}();
- if (#hasIncrementalSupport) {
- #incrementalHelper.inheritFrom = inheritFrom;
- }
-
// Class descriptions are collected in a JS object.
// 'finishClasses' takes all collected descriptions and sets up
// the prototype.
@@ -762,10 +752,6 @@ function $setupProgramName(programData, typesOffset) {
#tearOffCode;
}
- if (#hasIncrementalSupport) {
- #incrementalHelper.addStubs = addStubs;
- }
-
var functionCounter = 0;
if (!#libraries) #libraries = [];
if (!#mangledNames) #mangledNames = map();
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart ('k') | pkg/compiler/lib/src/js_emitter/lazy_emitter/emitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698