Bug 569766: Make tracing work with fat values

This commit is contained in:
David Mandelin
2010-06-10 17:20:26 -07:00
parent bdbce63c37
commit 973275b1ae
27 changed files with 1466 additions and 1558 deletions

View File

@@ -1645,7 +1645,7 @@ JS_GetGlobalForScopeChain(JSContext *cx)
VOUCH_DOES_NOT_REQUIRE_STACK();
if (cx->fp)
return cx->fp->scopeChain->getGlobal();
return cx->fp->scopeChainObj()->getGlobal();
JSObject *scope = cx->globalObject;
if (!scope) {
@@ -4003,7 +4003,7 @@ js_generic_fast_native_method_dispatcher(JSContext *cx, uintN argc, Value *vp)
native =
#ifdef JS_TRACER
(fs->flags & JSFUN_TRCINFO)
? JS_FUNC_TO_DATA_PTR(JSNativeTraceInfo *, fs->call)->native
? (FastNative) JS_FUNC_TO_DATA_PTR(JSNativeTraceInfo *, fs->call)->native
:
#endif
(FastNative) fs->call;