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

Unified Diff: runtime/platform/utils.h

Issue 10805080: Fix the build breakage on MacOS and Windows caused by CountTrailingZeros. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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 | runtime/platform/utils_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/platform/utils.h
diff --git a/runtime/platform/utils.h b/runtime/platform/utils.h
index 4cd71913f7ed85987e60790b95836037cc81929c..1da808ef3878433c585af168cf1e0df01ec3c5c0 100644
--- a/runtime/platform/utils.h
+++ b/runtime/platform/utils.h
@@ -79,8 +79,7 @@ class Utils {
static uint32_t RoundUpToPowerOfTwo(uint32_t x);
static int CountOneBits(uint32_t x);
- static int CountTrailingZeros(uint32_t x);
- static int CountTrailingZeros(uint64_t x);
+ static int CountTrailingZeros(uword x);
// Computes a hash value for the given string.
static uint32_t StringHash(const char* data, int length);
« no previous file with comments | « no previous file | runtime/platform/utils_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698