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

Unified Diff: lib/compiler/implementation/ssa/nodes.dart

Issue 10579039: Remove fromActivation marker from HFieldGet/Set (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/ssa/nodes.dart
diff --git a/lib/compiler/implementation/ssa/nodes.dart b/lib/compiler/implementation/ssa/nodes.dart
index c5525630131108cd5bea3fcf5d88119f22eadc0d..41b905b748c78e457f7935a613a9145a1d5874f6 100644
--- a/lib/compiler/implementation/ssa/nodes.dart
+++ b/lib/compiler/implementation/ssa/nodes.dart
@@ -1259,8 +1259,6 @@ abstract class HFieldAccess extends HInstruction {
final Element element;
HFieldAccess(this.element, List<HInstruction> inputs) : super(inputs);
-
- bool isFromActivation() => element === null;
}
class HFieldGet extends HFieldAccess {
@@ -1269,7 +1267,6 @@ class HFieldGet extends HFieldAccess {
HFieldGet(Element element, HInstruction receiver,
[this.isFinalOrConst = false])
: super(element, <HInstruction>[receiver]);
- HFieldGet.fromActivation(receiver) : this(null, receiver);
HInstruction get receiver() => inputs[0];
@@ -1288,8 +1285,6 @@ class HFieldGet extends HFieldAccess {
class HFieldSet extends HFieldAccess {
HFieldSet(Element element, HInstruction receiver, HInstruction value)
: super(element, <HInstruction>[receiver, value]);
- HFieldSet.fromActivation(receiver, value)
- : this(null, receiver, value);
HInstruction get receiver() => inputs[0];
HInstruction get value() => inputs[1];
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698