[vm] Fix compilation issue on Mac

b97e8ecf72 introduced an accidental type
mismatch which is only revealed on Mac

TBR=rmacnak@google.com

Change-Id: I6cb8d0cf14afe9961507ba15cc6342f0d0a3d1ae
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/170090
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
This commit is contained in:
Vyacheslav Egorov 2020-11-02 21:25:02 +00:00
parent b97e8ecf72
commit 11c62356ec

View file

@ -702,7 +702,7 @@ class String : public AllStatic {
static word length_offset();
static word InstanceSize();
static word NextFieldOffset();
static word InstanceSize(intptr_t payload_size);
static word InstanceSize(word payload_size);
};
class OneByteString : public AllStatic {