| Index: src/heap.cc
|
| ===================================================================
|
| --- src/heap.cc (revision 4816)
|
| +++ src/heap.cc (working copy)
|
| @@ -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()) {
|
|
|