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

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

Issue 11262032: Add 'part of' in dart2js code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 part of ssa;
6
5 abstract class HVisitor<R> { 7 abstract class HVisitor<R> {
6 R visitAdd(HAdd node); 8 R visitAdd(HAdd node);
7 R visitBailoutTarget(HBailoutTarget node); 9 R visitBailoutTarget(HBailoutTarget node);
8 R visitBitAnd(HBitAnd node); 10 R visitBitAnd(HBitAnd node);
9 R visitBitNot(HBitNot node); 11 R visitBitNot(HBitNot node);
10 R visitBitOr(HBitOr node); 12 R visitBitOr(HBitOr node);
11 R visitBitXor(HBitXor node); 13 R visitBitXor(HBitXor node);
12 R visitBoolify(HBoolify node); 14 R visitBoolify(HBoolify node);
13 R visitBoundsCheck(HBoundsCheck node); 15 R visitBoundsCheck(HBoundsCheck node);
14 R visitBreak(HBreak node); 16 R visitBreak(HBreak node);
(...skipping 2959 matching lines...) Expand 10 before | Expand all | Expand 10 after
2974 HBasicBlock get start => expression.start; 2976 HBasicBlock get start => expression.start;
2975 HBasicBlock get end { 2977 HBasicBlock get end {
2976 // We don't create a switch block if there are no cases. 2978 // We don't create a switch block if there are no cases.
2977 assert(!statements.isEmpty); 2979 assert(!statements.isEmpty);
2978 return statements.last().end; 2980 return statements.last().end;
2979 } 2981 }
2980 2982
2981 bool accept(HStatementInformationVisitor visitor) => 2983 bool accept(HStatementInformationVisitor visitor) =>
2982 visitor.visitSwitchInfo(this); 2984 visitor.visitSwitchInfo(this);
2983 } 2985 }
OLDNEW
« no previous file with comments | « lib/compiler/implementation/ssa/js_names.dart ('k') | lib/compiler/implementation/ssa/optimize.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698