mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 08:07:11 +00:00
[VM] Correct return type of _setHash
Change-Id: I3f02d584d30fc7a2f3bd93858eaf77abe3c9f5b7 Reviewed-on: https://dart-review.googlesource.com/17720 Reviewed-by: Vyacheslav Egorov <vegorov@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>
This commit is contained in:
parent
f382f3980c
commit
6505994d58
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
// part of "core_patch.dart";
|
||||
|
||||
int _getHash(obj) native "Object_getHash";
|
||||
int _setHash(obj, hash) native "Object_setHash";
|
||||
void _setHash(obj, hash) native "Object_setHash";
|
||||
|
||||
@patch
|
||||
class Object {
|
||||
|
|
|
@ -193,7 +193,7 @@ namespace dart {
|
|||
V(_TwoByteString, ==, TwoByteString_equality, Bool, 0x4719e83f) \
|
||||
V(_Type, get:hashCode, Type_getHashCode, Smi, 0x18d0dde0) \
|
||||
V(::, _getHash, Object_getHash, Smi, 0x2827856d) \
|
||||
V(::, _setHash, Object_setHash, Object, 0x302d1fe8) \
|
||||
V(::, _setHash, Object_setHash, Dynamic, 0x54cb3fbc) \
|
||||
|
||||
|
||||
#define CORE_INTEGER_LIB_INTRINSIC_LIST(V) \
|
||||
|
|
Loading…
Reference in a new issue