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

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

Issue 1090873002: cps-ir: Replace getter-invocation methods in IR builder. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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 | « no previous file | pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart
diff --git a/pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart b/pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart
index 2ebe34ba70d410db8862a642d21e0bc451535b9c..a0fb612a58386c835b435fd0df6fdb595739bdaa 100644
--- a/pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart
+++ b/pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart
@@ -882,32 +882,6 @@ abstract class IrBuilder {
return _buildInvokeSuper(method, selector, arguments);
}
- /// Create a call invocation on the value of [field] on the super class where
- /// the call structure is defined [callStructure] and the argument values are
- /// defined by [arguments].
- ir.Primitive buildSuperFieldInvocation(FieldElement field,
- CallStructure callStructure,
- List<ir.Primitive> arguments) {
- // TODO(johnniwinther): Maybe this should have its own ir node.
- return buildCallInvocation(
- buildSuperFieldGet(field),
- callStructure,
- arguments);
- }
-
- /// Create a call invocation on the value returned from the [getter] on the
- /// super class where the call structure is defined [selector] and the
- /// argument values are defined by [arguments].
- ir.Primitive buildSuperGetterInvocation(MethodElement getter,
- CallStructure callStructure,
- List<ir.Primitive> arguments) {
- // TODO(johnniwinther): Maybe this should have its own ir node.
- return buildCallInvocation(
- buildSuperGetterGet(getter),
- callStructure,
- arguments);
- }
-
/// Create a read access of the [field] on the super class.
ir.Primitive buildSuperFieldGet(FieldElement field) {
// TODO(johnniwinther): This should have its own ir node.
@@ -1067,38 +1041,6 @@ abstract class IrBuilder {
function, selector, arguments, sourceInformation);
}
- /// Create a call invocation of the value of the static [field] where argument
- /// structure is defined by [callStructure] and the argument values are
- /// defined by [arguments].
- ir.Primitive buildStaticFieldInvocation(
- FieldElement field,
- CallStructure callStructure,
- List<ir.Primitive> arguments,
- {SourceInformation sourceInformation}) {
- // TODO(johnniwinther): Maybe this should have its own node.
- return buildCallInvocation(
- buildStaticFieldGet(field),
- callStructure,
- arguments,
- sourceInformation: sourceInformation);
- }
-
- /// Create a call invocation of the result of calling the static [getter]
- /// where argument structure is defined by [callStructure] and the argument
- /// values are defined by [arguments].
- ir.Primitive buildStaticGetterInvocation(
- MethodElement getter,
- CallStructure callStructure,
- List<ir.Primitive> arguments,
- {SourceInformation sourceInformation}) {
- // TODO(johnniwinther): Maybe this should have its own node.
- return buildCallInvocation(
- buildStaticGetterGet(getter),
- callStructure,
- arguments,
- sourceInformation: sourceInformation);
- }
-
/// Create a read access of the static [field].
ir.Primitive buildStaticFieldGet(FieldElement field,
{SourceInformation sourceInformation}) {
« no previous file with comments | « no previous file | pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698