Index: src/serialize.cc |
=================================================================== |
--- src/serialize.cc (revision 1738) |
+++ src/serialize.cc (working copy) |
@@ -548,6 +548,7 @@ |
AddFromId(ref_table[i].type, ref_table[i].id, ref_table[i].name); |
} |
+#ifdef ENABLE_DEBUGGER_SUPPORT |
// Debug addresses |
Add(Debug_Address(Debug::k_after_break_target_address).address(), |
DEBUG_ADDRESS, |
@@ -567,6 +568,7 @@ |
Debug::k_register_address << kDebugIdShift | i, |
name.start()); |
} |
+#endif |
// Stat counters |
struct StatsRefTableEntry { |
@@ -659,10 +661,6 @@ |
UNCLASSIFIED, |
4, |
"RegExpStack::limit_address()"); |
- Add(ExternalReference::debug_break().address(), |
- UNCLASSIFIED, |
- 5, |
- "Debug::Break()"); |
Add(ExternalReference::new_space_start().address(), |
UNCLASSIFIED, |
6, |
@@ -679,6 +677,11 @@ |
UNCLASSIFIED, |
9, |
"Heap::NewSpaceAllocationTopAddress()"); |
+#ifdef ENABLE_DEBUGGER_SUPPORT |
+ Add(ExternalReference::debug_break().address(), |
+ UNCLASSIFIED, |
+ 5, |
Søren Thygesen Gjesse
2009/04/17 23:46:17
Why not re-number these?
|
+ "Debug::Break()"); |
Add(ExternalReference::debug_step_in_fp_address().address(), |
UNCLASSIFIED, |
10, |
@@ -695,6 +698,7 @@ |
UNCLASSIFIED, |
13, |
"mul_two_doubles"); |
+#endif |
} |