Chromium Code Reviews| Index: runtime/vm/object.h |
| diff --git a/runtime/vm/object.h b/runtime/vm/object.h |
| index 80ef973723a815464d47a717eb99ead3536158fd..a01335a7e42cbbe3ab1a3597c8643a60456cbcaf 100644 |
| --- a/runtime/vm/object.h |
| +++ b/runtime/vm/object.h |
| @@ -4476,6 +4476,7 @@ class Integer : public Number { |
| virtual double AsDoubleValue() const; |
| virtual int64_t AsInt64Value() const; |
| + virtual int32_t AsTruncatedUint32Value() const; |
|
srdjan
2013/11/26 23:39:16
s/int32_t/uint32_t/
Here and below.
Cutch
2013/11/26 23:44:48
Done.
|
| // Returns 0, -1 or 1. |
| virtual int CompareWith(const Integer& other) const; |
| @@ -4518,6 +4519,7 @@ class Smi : public Integer { |
| virtual double AsDoubleValue() const; |
| virtual int64_t AsInt64Value() const; |
| + virtual int32_t AsTruncatedUint32Value() const; |
| virtual int CompareWith(const Integer& other) const; |
| @@ -4607,6 +4609,7 @@ class Mint : public Integer { |
| virtual double AsDoubleValue() const; |
| virtual int64_t AsInt64Value() const; |
| + virtual int32_t AsTruncatedUint32Value() const; |
| virtual int CompareWith(const Integer& other) const; |
| @@ -4644,6 +4647,7 @@ class Bigint : public Integer { |
| virtual double AsDoubleValue() const; |
| virtual int64_t AsInt64Value() const; |
| + virtual int32_t AsTruncatedUint32Value() const; |
| virtual int CompareWith(const Integer& other) const; |