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

Unified Diff: src/misc-intrinsics.h

Issue 21022003: Revert new OS and CC detection and related changes since r15923. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 | « src/lazy-instance.h ('k') | src/platform.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/misc-intrinsics.h
diff --git a/src/misc-intrinsics.h b/src/misc-intrinsics.h
index 35a243435c31f3f1d317a6859aded538e17274ec..5393de2c2175963a3f978eecbfd91189d869f975 100644
--- a/src/misc-intrinsics.h
+++ b/src/misc-intrinsics.h
@@ -39,13 +39,13 @@ namespace internal {
// Result is undefined if input is zero.
int IntegerLog2(uint32_t value);
-#if V8_CC_GNU
+#if defined(__GNUC__)
inline int IntegerLog2(uint32_t value) {
return 31 - __builtin_clz(value);
}
-#elif V8_CC_MSVC
+#elif defined(_MSC_VER)
#pragma intrinsic(_BitScanReverse)
« no previous file with comments | « src/lazy-instance.h ('k') | src/platform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698