OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 part of dart.core_patch; | 5 part of dart.core_patch; |
6 | 6 |
7 class MiniExpLabel { | 7 class MiniExpLabel { |
8 // Initially points to -1 to indicate the label is neither linked (used) nor | 8 // Initially points to -1 to indicate the label is neither linked (used) nor |
9 // bound (fixed to a location). When the label is linked, but not bound, it | 9 // bound (fixed to a location). When the label is linked, but not bound, it |
10 // has a negative value, determined by fixupLocation(l), that indicates the | 10 // has a negative value, determined by fixupLocation(l), that indicates the |
11 // location of a reference to it, that will be patched when its location has | 11 // location of a reference to it, that will be patched when its location has |
(...skipping 2213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2225 if (!caseSensitive) { | 2225 if (!caseSensitive) { |
2226 x = internalRegExpCanonicalize(x); | 2226 x = internalRegExpCanonicalize(x); |
2227 y = internalRegExpCanonicalize(y); | 2227 y = internalRegExpCanonicalize(y); |
2228 } | 2228 } |
2229 if (x != y) return false; | 2229 if (x != y) return false; |
2230 } | 2230 } |
2231 _registers[CURRENT_POSITION] += length; | 2231 _registers[CURRENT_POSITION] += length; |
2232 return true; | 2232 return true; |
2233 } | 2233 } |
2234 } | 2234 } |
OLD | NEW |