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

Unified Diff: src/debug.cc

Issue 10249: Removed some unused debugger functions. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 years, 1 month 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/debug.h ('k') | src/debug-delay.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug.cc
===================================================================
--- src/debug.cc (revision 722)
+++ src/debug.cc (working copy)
@@ -1371,35 +1371,6 @@
}
-Handle<String> Debugger::ProcessRequest(Handle<Object> exec_state,
- Handle<Object> request,
- bool stopped) {
- // Get the function ProcessDebugRequest (declared in debug.js).
- Handle<JSFunction> process_denbug_request =
- Handle<JSFunction>(JSFunction::cast(
- Debug::debug_context()->global()->GetProperty(
- *Factory::LookupAsciiSymbol("ProcessDebugRequest"))));
-
- // Call ProcessDebugRequest expect String result. The ProcessDebugRequest
- // will never throw an exception (see debug.js).
- bool caught_exception;
- const int argc = 3;
- Object** argv[argc] = { exec_state.location(),
- request.location(),
- stopped ? Factory::true_value().location() :
- Factory::false_value().location()};
- Handle<Object> result = Execution::TryCall(process_denbug_request,
- Factory::undefined_value(),
- argc, argv,
- &caught_exception);
- if (caught_exception) {
- return Factory::empty_symbol();
- }
-
- return Handle<String>::cast(result);
-}
-
-
void Debugger::OnException(Handle<Object> exception, bool uncaught) {
HandleScope scope;
« no previous file with comments | « src/debug.h ('k') | src/debug-delay.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698