Index: src/assembler.h |
=================================================================== |
--- src/assembler.h (revision 1738) |
+++ src/assembler.h (working copy) |
@@ -346,8 +346,10 @@ |
//---------------------------------------------------------------------------- |
class IC_Utility; |
+class SCTableReference; |
+#ifdef ENABLE_DEBUGGER_SUPPORT |
class Debug_Address; |
-class SCTableReference; |
+#endif |
// An ExternalReference represents a C++ address called from the generated |
// code. All references to C++ functions and must be encapsulated in an |
@@ -365,7 +367,9 @@ |
explicit ExternalReference(const IC_Utility& ic_utility); |
+#ifdef ENABLE_DEBUGGER_SUPPORT |
explicit ExternalReference(const Debug_Address& debug_address); |
+#endif |
explicit ExternalReference(StatsCounter* counter); |
@@ -388,9 +392,6 @@ |
// Static variable RegExpStack::limit_address() |
static ExternalReference address_of_regexp_stack_limit(); |
- // Function Debug::Break() |
- static ExternalReference debug_break(); |
- |
// Static variable Heap::NewSpaceStart() |
static ExternalReference new_space_start(); |
static ExternalReference heap_always_allocate_scope_depth(); |
@@ -399,13 +400,18 @@ |
static ExternalReference new_space_allocation_top_address(); |
static ExternalReference new_space_allocation_limit_address(); |
- // Used to check if single stepping is enabled in generated code. |
- static ExternalReference debug_step_in_fp_address(); |
- |
static ExternalReference double_fp_operation(Token::Value operation); |
Address address() const {return address_;} |
+#ifdef ENABLE_DEBUGGER_SUPPORT |
+ // Function Debug::Break() |
+ static ExternalReference debug_break(); |
+ |
+ // Used to check if single stepping is enabled in generated code. |
+ static ExternalReference debug_step_in_fp_address(); |
+#endif |
+ |
private: |
explicit ExternalReference(void* address) |
: address_(reinterpret_cast<Address>(address)) {} |