Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1837)

Unified Diff: runtime/vm/object.h

Issue 88983004: Support Bigint parameters in Int32x4 constructor (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/bigint_operations.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « runtime/vm/bigint_operations.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698