Ignore:
Timestamp:
Feb 29, 2008, 3:48:42 PM (17 years ago)
Author:
Adam Roben
Message:

Remove unused DebuggerImp::abort and DebuggerImp::aborted

Reviewed by Tim and Sam.

  • kjs/function_object.cpp: (KJS::FunctionObjectImp::construct):
  • kjs/internal.h: (KJS::DebuggerImp::DebuggerImp):
  • kjs/nodes.cpp: (KJS::Node::handleException): (KJS::FunctionBodyNodeWithDebuggerHooks::execute):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/function_object.cpp

    r30534 r30679  
    169169
    170170    // notify debugger that source has been parsed
     171    // send empty sourceURL to indicate constructed code
    171172    Debugger* dbg = exec->dynamicGlobalObject()->debugger();
    172     if (dbg) {
    173         // send empty sourceURL to indicate constructed code
    174         bool cont = dbg->sourceParsed(exec, sourceId, UString(), body, lineNumber, errLine, errMsg);
    175         if (!cont) {
    176             dbg->imp()->abort();
    177             return new JSObject();
    178         }
    179     }
     173    if (dbg && !dbg->sourceParsed(exec, sourceId, UString(), body, lineNumber, errLine, errMsg))
     174        return new JSObject();
    180175
    181176    // No program node == syntax error - throw a syntax error
Note: See TracChangeset for help on using the changeset viewer.