| OLD | NEW |
| 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 | |
| 7 abstract class HVisitor<R> { | 5 abstract class HVisitor<R> { |
| 8 R visitAdd(HAdd node); | 6 R visitAdd(HAdd node); |
| 9 R visitBailoutTarget(HBailoutTarget node); | 7 R visitBailoutTarget(HBailoutTarget node); |
| 10 R visitBitAnd(HBitAnd node); | 8 R visitBitAnd(HBitAnd node); |
| 11 R visitBitNot(HBitNot node); | 9 R visitBitNot(HBitNot node); |
| 12 R visitBitOr(HBitOr node); | 10 R visitBitOr(HBitOr node); |
| 13 R visitBitXor(HBitXor node); | 11 R visitBitXor(HBitXor node); |
| 14 R visitBoolify(HBoolify node); | 12 R visitBoolify(HBoolify node); |
| 15 R visitBoundsCheck(HBoundsCheck node); | 13 R visitBoundsCheck(HBoundsCheck node); |
| 16 R visitBreak(HBreak node); | 14 R visitBreak(HBreak node); |
| (...skipping 2959 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2976 HBasicBlock get start => expression.start; | 2974 HBasicBlock get start => expression.start; |
| 2977 HBasicBlock get end { | 2975 HBasicBlock get end { |
| 2978 // We don't create a switch block if there are no cases. | 2976 // We don't create a switch block if there are no cases. |
| 2979 assert(!statements.isEmpty()); | 2977 assert(!statements.isEmpty()); |
| 2980 return statements.last().end; | 2978 return statements.last().end; |
| 2981 } | 2979 } |
| 2982 | 2980 |
| 2983 bool accept(HStatementInformationVisitor visitor) => | 2981 bool accept(HStatementInformationVisitor visitor) => |
| 2984 visitor.visitSwitchInfo(this); | 2982 visitor.visitSwitchInfo(this); |
| 2985 } | 2983 } |
| OLD | NEW |