mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 03:56:57 +00:00
Test double.hashCode with and without intrinsics.
Change-Id: I34c317d3f11bef061cb9f2f6ad1123e948ef78f2 Reviewed-on: https://dart-review.googlesource.com/16683 Reviewed-by: Vyacheslav Egorov <vegorov@google.com> Reviewed-by: Kasper Lund <kasperl@google.com>
This commit is contained in:
parent
b55f646683
commit
442e0e8192
|
@ -2,6 +2,9 @@
|
||||||
// for details. All rights reserved. Use of this source code is governed by a
|
// for details. All rights reserved. Use of this source code is governed by a
|
||||||
// BSD-style license that can be found in the LICENSE file.
|
// BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// VMOptions=--intrinsify
|
||||||
|
// VMOptions=--no_intrinsify
|
||||||
|
|
||||||
import 'package:expect/expect.dart';
|
import 'package:expect/expect.dart';
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
|
|
|
@ -4,6 +4,9 @@
|
||||||
|
|
||||||
// Test that the distribution of hash codes for doubles is reasonable.
|
// Test that the distribution of hash codes for doubles is reasonable.
|
||||||
|
|
||||||
|
// VMOptions=--intrinsify
|
||||||
|
// VMOptions=--no_intrinsify
|
||||||
|
|
||||||
import 'package:expect/expect.dart';
|
import 'package:expect/expect.dart';
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
|
|
Loading…
Reference in a new issue