Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
Bug 868369 - remove guard in jsd_SetExecutionHook made superfluous by…
Browse files Browse the repository at this point in the history
… change in _newJSDScript to align with beta and aurora branches. r=me

--HG--
extra : rebase_source : 88045156e58f6d65f2ee1e821e24452be1a64a94
  • Loading branch information
tschneidereit committed May 6, 2013
1 parent d3d6cae commit ba0a7f8
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions js/jsd/jsd_scpt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -829,13 +829,6 @@ jsd_SetExecutionHook(JSDContext* jsdc,
JSCompartment* oldCompartment;

JSD_LOCK();

if ( JS_GetScriptIsSelfHosted(jsdscript->script) )
{
JSD_UNLOCK();
return JS_TRUE;
}

if( ! hook )
{
jsd_ClearExecutionHook(jsdc, jsdscript, pc);
Expand Down

0 comments on commit ba0a7f8

Please sign in to comment.