[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:
Alexander Markov 2017-10-31 22:01:08 +00:00 committed by commit-bot@chromium.org
parent f382f3980c
commit 6505994d58
2 changed files with 2 additions and 2 deletions

View file

@ -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 {

View file

@ -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) \