Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(552)

Unified Diff: src/ic-inl.h

Issue 256653004: Always include debugger support. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Makefile Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ic.cc ('k') | src/isolate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic-inl.h
diff --git a/src/ic-inl.h b/src/ic-inl.h
index ebe0fb9b35e3e0fd1181757b4053e6e0f6ece72d..cd98b0b23348e4fdf1957d8fe64d62588d6c5768 100644
--- a/src/ic-inl.h
+++ b/src/ic-inl.h
@@ -42,7 +42,6 @@ Address IC::address() const {
// Get the address of the call.
Address result = Assembler::target_address_from_return_address(pc());
-#ifdef ENABLE_DEBUGGER_SUPPORT
Debug* debug = isolate()->debug();
// First check if any break points are active if not just return the address
// of the call.
@@ -68,9 +67,6 @@ Address IC::address() const {
// No break point here just return the address of the call.
return result;
}
-#else
- return result;
-#endif
}
@@ -79,7 +75,6 @@ ConstantPoolArray* IC::constant_pool() const {
return NULL;
} else {
Handle<ConstantPoolArray> result = raw_constant_pool_;
-#ifdef ENABLE_DEBUGGER_SUPPORT
Debug* debug = isolate()->debug();
// First check if any break points are active if not just return the
// original constant pool.
@@ -94,7 +89,6 @@ ConstantPoolArray* IC::constant_pool() const {
// constant pool for the original code instead of the breakpointed code.
return GetOriginalCode()->constant_pool();
}
-#endif
return *result;
}
}
« no previous file with comments | « src/ic.cc ('k') | src/isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698