mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 767202 (part 1) - Don't export PopStatementBCE(). r=bhackett.
--HG-- extra : rebase_source : 07fd12e3ec15e2739bb7b72ff7063a6e50ded930
This commit is contained in:
parent
e360fa128a
commit
1cf6ba186c
@ -624,8 +624,11 @@ BackPatch(JSContext *cx, BytecodeEmitter *bce, ptrdiff_t last, jsbytecode *targe
|
||||
return JS_TRUE;
|
||||
}
|
||||
|
||||
JSBool
|
||||
frontend::PopStatementBCE(JSContext *cx, BytecodeEmitter *bce)
|
||||
// Like PopStatementTC(bce), also patch breaks and continues unless the top
|
||||
// statement info record represents a try-catch-finally suite. May fail if a
|
||||
// jump offset overflows.
|
||||
static JSBool
|
||||
PopStatementBCE(JSContext *cx, BytecodeEmitter *bce)
|
||||
{
|
||||
StmtInfo *stmt = bce->sc->topStmt;
|
||||
if (!STMT_IS_TRYING(stmt) &&
|
||||
|
@ -220,14 +220,6 @@ Emit3(JSContext *cx, BytecodeEmitter *bce, JSOp op, jsbytecode op1, jsbytecode o
|
||||
ptrdiff_t
|
||||
EmitN(JSContext *cx, BytecodeEmitter *bce, JSOp op, size_t extra);
|
||||
|
||||
/*
|
||||
* Like PopStatementTC(bce), also patch breaks and continues unless the top
|
||||
* statement info record represents a try-catch-finally suite. May fail if a
|
||||
* jump offset overflows.
|
||||
*/
|
||||
JSBool
|
||||
PopStatementBCE(JSContext *cx, BytecodeEmitter *bce);
|
||||
|
||||
/*
|
||||
* Define and lookup a primitive jsval associated with the const named by atom.
|
||||
* DefineCompileTimeConstant analyzes the constant-folded initializer at pn
|
||||
|
Loading…
Reference in New Issue
Block a user