Revision: 4818
Author: [email protected]
Date: Tue Jun  8 04:23:48 2010
Log: Fix building without debugger suport.
Review URL: http://codereview.chromium.org/2733003
http://code.google.com/p/v8/source/detail?r=4818

Modified:
 /branches/bleeding_edge/src/heap.cc

=======================================
--- /branches/bleeding_edge/src/heap.cc Tue Jun  8 02:35:47 2010
+++ /branches/bleeding_edge/src/heap.cc Tue Jun  8 04:23:48 2010
@@ -2249,8 +2249,10 @@


 void Heap::FlushCode() {
+#ifdef ENABLE_DEBUGGER_SUPPORT
   // Do not flush code if the debugger is loaded or there are breakpoints.
   if (Debug::IsLoaded() || Debug::has_break_points()) return;
+#endif
   HeapObjectIterator it(old_pointer_space());
   for (HeapObject* obj = it.next(); obj != NULL; obj = it.next()) {
     if (obj->IsJSFunction()) {

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to