Revision: 10173
Author: [email protected]
Date: Tue Dec 6 04:09:11 2011
Log: The memory size test makes no sense on the simulated platforms.
Review URL: http://codereview.chromium.org/8818007
http://code.google.com/p/v8/source/detail?r=10173
Modified:
/branches/bleeding_edge/test/cctest/test-mark-compact.cc
=======================================
--- /branches/bleeding_edge/test/cctest/test-mark-compact.cc Fri Dec 2
06:19:53 2011
+++ /branches/bleeding_edge/test/cctest/test-mark-compact.cc Tue Dec 6
04:09:11 2011
@@ -454,7 +454,10 @@
}
-#ifdef __linux__
+// Here is a memory use test that uses /proc, and is therefore
Linux-only. We
+// do not care how much memory the simulator uses, since it is only there
for
+// debugging purposes.
+#if defined(__linux__) && !defined(USE_SIMULATOR)
static uintptr_t ReadLong(char* buffer, intptr_t* position, int base) {
@@ -532,4 +535,4 @@
}
}
-#endif // __linux__
+#endif // __linux__ and !USE_SIMULATOR
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev