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

Unified Diff: runtime/vm/object.cc

Issue 9536016: Implement BigintOperations::ToDecimalCString. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments and deal better with overflows. Created 8 years, 10 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
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index 0522d8cff93978f6149afcf0c661aa69263e1dd5..2b56c182637eedc80a394c6406213aac4274bc48 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -6555,9 +6555,7 @@ static uword ZoneAllocator(intptr_t size) {
const char* Bigint::ToCString() const {
- // TODO(florian): Add a BigintOperations::ToDecCString method and use that
- // here.
- return BigintOperations::ToHexCString(*this, &ZoneAllocator);
+ return BigintOperations::ToDecimalCString(*this, &ZoneAllocator);
}

Powered by Google App Engine
This is Rietveld 408576698