author | Cykesiopka <cykesiopka@hotmail.com> |
Mon, 06 May 2013 22:00:06 -0400 | |
changeset 131037 | 06f0445a50abb89dcba39c82bd7bf07904d1edbe |
parent 131036 | 8ef4542be8fdf58b6e0b1c292320323b2a208e33 |
child 131038 | 4a42bd9ee71200a2b44b6a9cfe9017317edfb7cc |
push id | 27657 |
push user | ryanvm@gmail.com |
push date | Tue, 07 May 2013 02:00:59 +0000 |
treeherder | mozilla-inbound@4a42bd9ee712 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | mrbkap |
bugs | 756067 |
milestone | 23.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
js/src/jsfriendapi.cpp | file | annotate | diff | comparison | revisions | |
js/src/jsfriendapi.h | file | annotate | diff | comparison | revisions |
--- a/js/src/jsfriendapi.cpp +++ b/js/src/jsfriendapi.cpp @@ -749,22 +749,16 @@ js::CallContextDebugHandler(JSContext *c if (!cx->runtime->debugHooks.debuggerHandler) return JSTRAP_RETURN; return cx->runtime->debugHooks.debuggerHandler(cx, script, bc, rval, cx->runtime->debugHooks.debuggerHandlerData); } #ifdef JS_THREADSAFE -void * -js::GetOwnerThread(const JSContext *cx) -{ - return cx->runtime->ownerThread(); -} - JS_FRIEND_API(bool) js::ContextHasOutstandingRequests(const JSContext *cx) { return cx->outstandingRequests > 0; } #endif JS_FRIEND_API(bool)
--- a/js/src/jsfriendapi.h +++ b/js/src/jsfriendapi.h @@ -718,19 +718,16 @@ SetRuntimeProfilingStack(JSRuntime *rt, JS_FRIEND_API(void) EnableRuntimeProfilingStack(JSRuntime *rt, bool enabled); JS_FRIEND_API(jsbytecode*) ProfilingGetPC(JSRuntime *rt, JSScript *script, void *ip); #ifdef JS_THREADSAFE -JS_FRIEND_API(void *) -GetOwnerThread(const JSContext *cx); - JS_FRIEND_API(bool) ContextHasOutstandingRequests(const JSContext *cx); #endif JS_FRIEND_API(bool) HasUnrootedGlobal(const JSContext *cx); typedef void