| Index: runtime/lib/math_patch.dart
|
| ===================================================================
|
| --- runtime/lib/math_patch.dart (revision 15427)
|
| +++ runtime/lib/math_patch.dart (working copy)
|
| @@ -51,12 +51,11 @@
|
|
|
| class _Random implements Random {
|
| // Internal state of the random number generator.
|
| - var _state;
|
| + final _state = new List(2);
|
| static const kSTATE_LO = 0;
|
| static const kSTATE_HI = 1;
|
|
|
| _Random._internal(state) {
|
| - _state = new List(2);
|
| _state[kSTATE_LO] = state & _MASK_32;
|
| _state[kSTATE_HI] = state >> 32;
|
| }
|
|
|