cbd17b535f
We need to block interrupts while evaluating pragmas to prevert reentrant class finalization. Original revision is in patchset 0. Change-Id: I872cec4eaf4ca85567c9657c458ed39c8b2e30de Cq-Include-Trybots: luci.dart.try:vm-kernel-win-release-x64-try, vm-kernel-optcounter-threshold-linux-release-x64-try, vm-kernel-precomp-linux-debug-x64-try, vm-kernel-precomp-linux-release-simarm-try, vm-kernel-precomp-linux-release-simarm64-try, vm-kernel-precomp-linux-release-x64-try, vm-kernel-precomp-win-release-x64-try Reviewed-on: https://dart-review.googlesource.com/73160 Commit-Queue: Samir Jindel <sjindel@google.com> Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
14 lines
458 B
Dart
14 lines
458 B
Dart
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
|
// 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.
|
|
|
|
// part of "core_patch.dart";
|
|
|
|
@patch
|
|
@pragma("vm:exact-result-type", bool)
|
|
bool identical(Object a, Object b) native "Identical_comparison";
|
|
|
|
@patch
|
|
@pragma("vm:entry-point")
|
|
int identityHashCode(Object object) => object._identityHashCode;
|