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

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

Issue 1182053010: Revert "Split TypedSelector into Selector and TypeMask." (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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/interceptor_simplifier.dart
diff --git a/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart b/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart
index 97b4b176a703f4eaa7e29c9599231481db65287a..a22b94d05834802705cdd553967bc85b7c4284fc 100644
--- a/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart
+++ b/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart
@@ -347,8 +347,7 @@ class SsaSimplifyInterceptors extends HBaseVisitor
List<HInstruction> inputs = new List<HInstruction>.from(user.inputs);
inputs[0] = nullConstant;
HOneShotInterceptor oneShotInterceptor = new HOneShotInterceptor(
- user.selector, user.mask,
- inputs, user.instructionType, interceptedClasses);
+ user.selector, inputs, user.instructionType, interceptedClasses);
oneShotInterceptor.sourceInformation = user.sourceInformation;
oneShotInterceptor.sourceElement = user.sourceElement;
return replaceUserWith(oneShotInterceptor);
@@ -381,19 +380,16 @@ class SsaSimplifyInterceptors extends HBaseVisitor
if (constant == null) return false;
Selector selector = node.selector;
- TypeMask mask = node.mask;
HInstruction instruction;
if (selector.isGetter) {
instruction = new HInvokeDynamicGetter(
selector,
- mask,
node.element,
<HInstruction>[constant, node.inputs[1]],
node.instructionType);
} else if (selector.isSetter) {
instruction = new HInvokeDynamicSetter(
selector,
- mask,
node.element,
<HInstruction>[constant, node.inputs[1], node.inputs[2]],
node.instructionType);
@@ -401,7 +397,7 @@ class SsaSimplifyInterceptors extends HBaseVisitor
List<HInstruction> inputs = new List<HInstruction>.from(node.inputs);
inputs[0] = constant;
instruction = new HInvokeDynamicMethod(
- selector, mask, inputs, node.instructionType, true);
+ selector, inputs, node.instructionType, true);
}
HBasicBlock block = node.block;
« no previous file with comments | « pkg/compiler/lib/src/ssa/codegen_helpers.dart ('k') | pkg/compiler/lib/src/ssa/invoke_dynamic_specializers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698