| Index: test/dart_codegen/expect/math/jenkins_smi_hash.dart
|
| diff --git a/test/dart_codegen/expect/math/jenkins_smi_hash.dart b/test/dart_codegen/expect/math/jenkins_smi_hash.dart
|
| index ac1aa3a7b9827f232ec9fc7b2201d6072c5524b0..297c265690bdfd0e881bd9bc534a5997ca71a9e4 100644
|
| --- a/test/dart_codegen/expect/math/jenkins_smi_hash.dart
|
| +++ b/test/dart_codegen/expect/math/jenkins_smi_hash.dart
|
| @@ -1,30 +1,14 @@
|
| part of dart.math;
|
| -
|
| -class _JenkinsSmiHash {
|
| - static int combine(int hash, int value) {
|
| - hash = 0x1fffffff & (hash + value);
|
| - hash = 0x1fffffff & (hash + ((0x0007ffff & hash) << 10));
|
| - return hash ^ (hash >> 6);
|
| + class _JenkinsSmiHash {static int combine(int hash, int value) {
|
| + hash = 0x1fffffff & (hash + value);
|
| + hash = 0x1fffffff & (hash + ((0x0007ffff & hash) << 10));
|
| + return hash ^ (hash >> 6);
|
| }
|
| - static int finish(int hash) {
|
| - hash = 0x1fffffff & (hash + ((0x03ffffff & hash) << 3));
|
| - hash = hash ^ (hash >> 11);
|
| - return 0x1fffffff & (hash + ((0x00003fff & hash) << 15));
|
| + static int finish(int hash) {
|
| + hash = 0x1fffffff & (hash + ((0x03ffffff & hash) << 3));
|
| + hash = hash ^ (hash >> 11);
|
| + return 0x1fffffff & (hash + ((0x00003fff & hash) << 15));
|
| }
|
| - static int hash2(a, b) => finish(combine(combine(0, DDC$RT.cast(a, dynamic,
|
| - int, "CastGeneral",
|
| - """line 37, column 55 of dart:math/jenkins_smi_hash.dart: """,
|
| - a is int, true)), DDC$RT.cast(b, dynamic, int, "CastGeneral",
|
| - """line 37, column 59 of dart:math/jenkins_smi_hash.dart: """, b is int,
|
| - true)));
|
| - static int hash4(a, b, c, d) => finish(combine(combine(combine(combine(0,
|
| - DDC$RT.cast(a, dynamic, int, "CastGeneral",
|
| - """line 40, column 49 of dart:math/jenkins_smi_hash.dart: """,
|
| - a is int, true)), DDC$RT.cast(b, dynamic, int, "CastGeneral",
|
| - """line 40, column 53 of dart:math/jenkins_smi_hash.dart: """,
|
| - b is int, true)), DDC$RT.cast(c, dynamic, int, "CastGeneral",
|
| - """line 40, column 57 of dart:math/jenkins_smi_hash.dart: """,
|
| - c is int, true)), DDC$RT.cast(d, dynamic, int, "CastGeneral",
|
| - """line 40, column 61 of dart:math/jenkins_smi_hash.dart: """, d is int,
|
| - true)));
|
| + static int hash2(a, b) => finish(combine(combine(0, DDC$RT.cast(a, dynamic, int, "CastGeneral", """line 37, column 55 of dart:math/jenkins_smi_hash.dart: """, a is int, true)), DDC$RT.cast(b, dynamic, int, "CastGeneral", """line 37, column 59 of dart:math/jenkins_smi_hash.dart: """, b is int, true)));
|
| + static int hash4(a, b, c, d) => finish(combine(combine(combine(combine(0, DDC$RT.cast(a, dynamic, int, "CastGeneral", """line 40, column 49 of dart:math/jenkins_smi_hash.dart: """, a is int, true)), DDC$RT.cast(b, dynamic, int, "CastGeneral", """line 40, column 53 of dart:math/jenkins_smi_hash.dart: """, b is int, true)), DDC$RT.cast(c, dynamic, int, "CastGeneral", """line 40, column 57 of dart:math/jenkins_smi_hash.dart: """, c is int, true)), DDC$RT.cast(d, dynamic, int, "CastGeneral", """line 40, column 61 of dart:math/jenkins_smi_hash.dart: """, d is int, true)));
|
| }
|
|
|