Index: runtime/vm/heap.cc |
diff --git a/runtime/vm/heap.cc b/runtime/vm/heap.cc |
index 6f5149707890f6957f98faf676bf7322b02af712..3dff3e08be95d5775d03ad9d9d257fd6448ec263 100644 |
--- a/runtime/vm/heap.cc |
+++ b/runtime/vm/heap.cc |
@@ -550,17 +550,10 @@ void Heap::Init(Isolate* isolate, |
} |
void Heap::RegionName(Heap* heap, Space space, char* name, intptr_t name_size) { |
-#if defined(PRODUCT) |
const bool no_isolate_name = (heap == NULL) || (heap->isolate() == NULL) || |
(heap->isolate()->name() == NULL); |
const char* isolate_name = |
no_isolate_name ? "<unknown>" : heap->isolate()->name(); |
-#else |
- const bool no_isolate_name = (heap == NULL) || (heap->isolate() == NULL) || |
- (heap->isolate()->debugger_name() == NULL); |
- const char* isolate_name = |
- no_isolate_name ? "<unknown>" : heap->isolate()->debugger_name(); |
-#endif // !defined(PRODUCT) |
const char* space_name = NULL; |
switch (space) { |
case kNew: |