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

Side by Side Diff: lib/compiler/implementation/ssa/nodes.dart

Issue 10025036: Fix typo. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 interface HVisitor<R> { 5 interface HVisitor<R> {
6 R visitAdd(HAdd node); 6 R visitAdd(HAdd node);
7 R visitBitAnd(HBitAnd node); 7 R visitBitAnd(HBitAnd node);
8 R visitBitNot(HBitNot node); 8 R visitBitNot(HBitNot node);
9 R visitBitOr(HBitOr node); 9 R visitBitOr(HBitOr node);
10 R visitBitXor(HBitXor node); 10 R visitBitXor(HBitXor node);
(...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after
750 HNonPrimitiveType temp = other; 750 HNonPrimitiveType temp = other;
751 if (this.type === temp.type) return this; 751 if (this.type === temp.type) return this;
752 } 752 }
753 if (other.isUnknown()) return this; 753 if (other.isUnknown()) return this;
754 return HType.CONFLICTING; 754 return HType.CONFLICTING;
755 } 755 }
756 756
757 String toString() => type.toString(); 757 String toString() => type.toString();
758 Element lookupMember(SourceString name) { 758 Element lookupMember(SourceString name) {
759 ClassElement classElement = type.element; 759 ClassElement classElement = type.element;
760 classElement.lookupMember(name); 760 return classElement.lookupMember(name);
761 } 761 }
762 } 762 }
763 763
764 class HInstruction implements Hashable { 764 class HInstruction implements Hashable {
765 Element sourceElement; 765 Element sourceElement;
766 766
767 final int id; 767 final int id;
768 static int idCounter; 768 static int idCounter;
769 769
770 final List<HInstruction> inputs; 770 final List<HInstruction> inputs;
(...skipping 1529 matching lines...) Expand 10 before | Expand all | Expand 10 after
2300 final bool isAnd; 2300 final bool isAnd;
2301 final SubExpression left; 2301 final SubExpression left;
2302 final SubExpression right; 2302 final SubExpression right;
2303 final HBasicBlock joinBlock; 2303 final HBasicBlock joinBlock;
2304 HAndOrBlockInformation(this.isAnd, 2304 HAndOrBlockInformation(this.isAnd,
2305 this.left, 2305 this.left,
2306 this.right, 2306 this.right,
2307 this.joinBlock); 2307 this.joinBlock);
2308 bool accept(HBlockInformationVisitor visitor) => visitor.visitAndOrInfo(this); 2308 bool accept(HBlockInformationVisitor visitor) => visitor.visitAndOrInfo(this);
2309 } 2309 }
OLDNEW
« 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