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

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. Created 8 years, 9 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 0fc3bdebef1d193e7fccfb2b09e27b17bbe55392..1790d1415e1879071226c9e0e563d266ad7f0f52 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -6637,9 +6637,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