| Index: runtime/lib/internal_patch.dart
|
| diff --git a/runtime/lib/internal_patch.dart b/runtime/lib/internal_patch.dart
|
| index cddf30ad4262172b81561cfa97effbde80317766..e49f5360454dc615118e9c5061904328742fe39a 100644
|
| --- a/runtime/lib/internal_patch.dart
|
| +++ b/runtime/lib/internal_patch.dart
|
| @@ -3,6 +3,7 @@
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| import 'dart:core' hide Symbol;
|
| +import 'dart:typed_data' show Int32List;
|
|
|
| @patch
|
| List makeListFixedLength(List growableList)
|
| @@ -64,3 +65,12 @@ class Lists {
|
| }
|
| }
|
| }
|
| +
|
| +// Called by IRRegExpMacroAssembler::GrowStack.
|
| +Int32List _growRegExpStack(Int32List stack) {
|
| + final newStack = new Int32List(stack.length * 2);
|
| + for (int i = 0; i < stack.length; i++) {
|
| + newStack[i] = stack[i];
|
| + }
|
| + return newStack;
|
| +}
|
|
|