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

Unified Diff: lib/byte_array.cc

Issue 12052033: Added macros OBJECT_IMPLEMENTATION and FINAL_OBJECT_IMPLEMENTATION (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 7 years, 11 months 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 | « no previous file | lib/integers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/byte_array.cc
===================================================================
--- lib/byte_array.cc (revision 17436)
+++ lib/byte_array.cc (working copy)
@@ -118,8 +118,7 @@
#define INTEGER_TO_UINT64(integer, uint64) \
if (integer.IsBigint()) { \
- Bigint& bigint = Bigint::Handle(); \
- bigint |= integer.raw(); \
+ const Bigint& bigint = Bigint::Cast(integer); \
ASSERT(BigintOperations::FitsIntoUint64(bigint)); \
value = BigintOperations::AbsToUint64(bigint); \
} else { \
« no previous file with comments | « no previous file | lib/integers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698