mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1026477: Make EvaluateInEnv static to Debugger.cpp; JSD1 no longer uses it. r=shu
This commit is contained in:
parent
1963f6d4d8
commit
487c32529c
@ -5907,10 +5907,10 @@ DebuggerFrame_setOnPop(JSContext *cx, unsigned argc, Value *vp)
|
||||
* environment; either way, |frame|'s scope is where newly declared variables
|
||||
* go. In this case, |frame| must have a computed 'this' value, equal to |thisv|.
|
||||
*/
|
||||
bool
|
||||
js::EvaluateInEnv(JSContext *cx, Handle<Env*> env, HandleValue thisv, AbstractFramePtr frame,
|
||||
jsbytecode *pc, mozilla::Range<const char16_t> chars, const char *filename,
|
||||
unsigned lineno, MutableHandleValue rval)
|
||||
static bool
|
||||
EvaluateInEnv(JSContext *cx, Handle<Env*> env, HandleValue thisv, AbstractFramePtr frame,
|
||||
jsbytecode *pc, mozilla::Range<const char16_t> chars, const char *filename,
|
||||
unsigned lineno, MutableHandleValue rval)
|
||||
{
|
||||
assertSameCompartment(cx, env, frame);
|
||||
MOZ_ASSERT_IF(frame, thisv.get() == frame.thisValue());
|
||||
|
@ -910,11 +910,6 @@ Debugger::onLogAllocationSite(JSContext *cx, HandleSavedFrame frame, int64_t whe
|
||||
return Debugger::slowPathOnLogAllocationSite(cx, frame, when, *dbgs);
|
||||
}
|
||||
|
||||
extern bool
|
||||
EvaluateInEnv(JSContext *cx, Handle<Env*> env, HandleValue thisv, AbstractFramePtr frame,
|
||||
jsbytecode *pc, mozilla::Range<const char16_t> chars, const char *filename,
|
||||
unsigned lineno, MutableHandleValue rval);
|
||||
|
||||
bool ReportObjectRequired(JSContext *cx);
|
||||
|
||||
} /* namespace js */
|
||||
|
Loading…
Reference in New Issue
Block a user