| Index: runtime/vm/datastream.h
|
| diff --git a/runtime/vm/datastream.h b/runtime/vm/datastream.h
|
| index 19a33c427dece8b1aa05fb370ef8317b4c6e6e27..3e9a6c0d7e4b9476c3460b3299167905215af4b0 100644
|
| --- a/runtime/vm/datastream.h
|
| +++ b/runtime/vm/datastream.h
|
| @@ -92,12 +92,12 @@ class ReadStream : public ValueObject {
|
| return (end_ - current_);
|
| }
|
|
|
| - private:
|
| template <typename T>
|
| T Read() {
|
| return Read<T>(kEndByteMarker);
|
| }
|
|
|
| + private:
|
| int16_t Read16() { return Read16(kEndByteMarker); }
|
|
|
| int32_t Read32() { return Read32(kEndByteMarker); }
|
| @@ -390,7 +390,6 @@ class WriteStream : public ValueObject {
|
| VPrint(format, args);
|
| }
|
|
|
| - private:
|
| template <typename T>
|
| void Write(T value) {
|
| T v = value;
|
| @@ -401,6 +400,7 @@ class WriteStream : public ValueObject {
|
| WriteByte(static_cast<uint8_t>(v + kEndByteMarker));
|
| }
|
|
|
| + private:
|
| DART_FORCE_INLINE void WriteByte(uint8_t value) {
|
| if (current_ >= end_) {
|
| Resize(1);
|
|
|