mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 815045: Delete JOF_TYPE_IS_EXTENDED_JUMP; it is unused. Fix comment in js::frontend::AddToSrcNoteDelta. r=luke
This commit is contained in:
parent
7f263401d8
commit
a5622a9859
@ -6750,8 +6750,8 @@ frontend::AddToSrcNoteDelta(JSContext *cx, BytecodeEmitter *bce, jssrcnote *sn,
|
||||
int index;
|
||||
|
||||
/*
|
||||
* Called only from OptimizeSpanDeps and FinishTakingSrcNotes to add to
|
||||
* main script note deltas, and only by a small positive amount.
|
||||
* Called only from FinishTakingSrcNotes to add to main script note
|
||||
* deltas, and only by a small positive amount.
|
||||
*/
|
||||
JS_ASSERT(bce->current == &bce->main);
|
||||
JS_ASSERT((unsigned) delta < (unsigned) SN_XDELTA_LIMIT);
|
||||
|
@ -107,9 +107,6 @@ typedef enum JSOp {
|
||||
#define JOF_MODE(fmt) ((fmt) & JOF_MODEMASK)
|
||||
#define JOF_OPMODE(op) JOF_MODE(js_CodeSpec[op].format)
|
||||
|
||||
#define JOF_TYPE_IS_EXTENDED_JUMP(t) \
|
||||
((unsigned)((t) - JOF_JUMP) <= (unsigned)(JOF_LOOKUPSWITCH - JOF_JUMP))
|
||||
|
||||
/*
|
||||
* Immediate operand getters, setters, and bounds.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user