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

Unified Diff: pkg/compiler/lib/src/ssa/builder_kernel.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/ssa/builder_kernel.dart
diff --git a/pkg/compiler/lib/src/ssa/builder_kernel.dart b/pkg/compiler/lib/src/ssa/builder_kernel.dart
index 5c5d5a11324217271e150a0f7a3a3290cb6bd369..1cd993273d1afab00636fbc6fafc1f97d04df9fd 100644
--- a/pkg/compiler/lib/src/ssa/builder_kernel.dart
+++ b/pkg/compiler/lib/src/ssa/builder_kernel.dart
@@ -2628,7 +2628,7 @@ class KernelSsaBuilder extends ir.Visitor with GraphBuilder {
}
HInstruction _buildInvokeSuper(
- ir.Expression invocation, List<HInstruction> arguments) {
+ ir.Expression invocation, List<HInstruction> arguments) {
// Invocation is either a method invocation or a property get/set.
// TODO(efortuna): Common interface?
// TODO(efortuna): Add source information.
@@ -2643,9 +2643,9 @@ class KernelSsaBuilder extends ir.Visitor with GraphBuilder {
inputs.add(receiver);
inputs.addAll(arguments);
- ir.Member interfaceTarget = invocation is ir.SuperMethodInvocation ?
- (invocation as ir.SuperMethodInvocation).interfaceTarget :
- (invocation as ir.SuperPropertyGet).interfaceTarget;
+ ir.Member interfaceTarget = invocation is ir.SuperMethodInvocation
+ ? (invocation as ir.SuperMethodInvocation).interfaceTarget
+ : (invocation as ir.SuperPropertyGet).interfaceTarget;
HInstruction instruction = new HInvokeSuper(
astAdapter.getMember(interfaceTarget),
« no previous file with comments | « pkg/compiler/lib/src/serialization/modelz.dart ('k') | pkg/compiler/lib/src/ssa/interceptor_simplifier.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698