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

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

Issue 885093002: dart2js: Fix types in new emitter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix more types. Created 5 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
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/new_emitter/model_emitter.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/js_emitter/program_builder.dart
diff --git a/pkg/compiler/lib/src/js_emitter/program_builder.dart b/pkg/compiler/lib/src/js_emitter/program_builder.dart
index 6f89f66b2e82423d057dff0fe247598a05d22861..82ba7687902a1e241b06a2a5346df8acb535704e 100644
--- a/pkg/compiler/lib/src/js_emitter/program_builder.dart
+++ b/pkg/compiler/lib/src/js_emitter/program_builder.dart
@@ -479,7 +479,7 @@ class ProgramBuilder {
}
}
- Iterable<StaticMethod> _generateGetInterceptorMethods() {
+ Iterable<StaticStubMethod> _generateGetInterceptorMethods() {
InterceptorStubGenerator stubGenerator =
new InterceptorStubGenerator(_compiler, namer, backend);
@@ -542,7 +542,7 @@ class ProgramBuilder {
return fields;
}
- Iterable<StaticMethod> _generateOneShotInterceptors() {
+ Iterable<StaticStubMethod> _generateOneShotInterceptors() {
InterceptorStubGenerator stubGenerator =
new InterceptorStubGenerator(_compiler, namer, backend);
@@ -556,7 +556,7 @@ class ProgramBuilder {
});
}
- StaticMethod _buildStaticMethod(FunctionElement element) {
+ StaticDartMethod _buildStaticMethod(FunctionElement element) {
String name = namer.getNameOfMember(element);
String holder = namer.globalObjectFor(element);
js.Expression code = backend.generatedCode[element];
@@ -572,13 +572,13 @@ class ProgramBuilder {
final String tearOffName =
needsTearOff ? namer.getStaticClosureName(element) : null;
- return new StaticMethod(element,
- name, _registry.registerHolder(holder), code,
- needsTearOff: needsTearOff,
- tearOffName: tearOffName,
- canBeApplied: canBeApplied,
- canBeReflected: canBeReflected,
- needsStubs: needsStubs);
+ return new StaticDartMethod(element,
+ name, _registry.registerHolder(holder), code,
+ needsTearOff: needsTearOff,
+ tearOffName: tearOffName,
+ canBeApplied: canBeApplied,
+ canBeReflected: canBeReflected,
+ needsStubs: needsStubs);
}
void _registerConstants(OutputUnit outputUnit,
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/new_emitter/model_emitter.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698