mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 12:15:33 +00:00
Despite the previous log message, the previous push was r=brendan
This commit is contained in:
parent
aa1f4886f2
commit
500e83ad2e
@ -6639,7 +6639,7 @@ js_SetSrcNoteOffset(JSContext *cx, JSCodeGenerator *cg, uintN index,
|
||||
|
||||
/*
|
||||
* Simultaneously test to see if the source note array must grow to
|
||||
* accomodate either the first or second byte of additional storage
|
||||
* accommodate either the first or second byte of additional storage
|
||||
* required by this 3-byte offset.
|
||||
*/
|
||||
if (((CG_NOTE_COUNT(cg) + 1) & CG_NOTE_MASK(cg)) <= 1) {
|
||||
|
@ -3925,7 +3925,7 @@ Decompile(SprintStack *ss, jsbytecode *pc, intN nb, JSOp nextop)
|
||||
|
||||
/*
|
||||
* All allocation when decompiling is LIFO, using malloc
|
||||
* or, more commonly, arena-alloocating from cx->tempPool.
|
||||
* or, more commonly, arena-allocating from cx->tempPool.
|
||||
* After InitSprintStack succeeds, we must release to mark
|
||||
* before returning.
|
||||
*/
|
||||
|
@ -110,7 +110,7 @@
|
||||
*/
|
||||
OPDEF(JSOP_NOP, 0, "nop", NULL, 1, 0, 0, 0, JOF_BYTE)
|
||||
|
||||
/* Longstanding JavaScript bytecodes. */
|
||||
/* Long-standing JavaScript bytecodes. */
|
||||
OPDEF(JSOP_PUSH, 1, "push", NULL, 1, 0, 1, 0, JOF_BYTE)
|
||||
OPDEF(JSOP_POPV, 2, "popv", NULL, 1, 1, 0, 2, JOF_BYTE)
|
||||
OPDEF(JSOP_ENTERWITH, 3, "enterwith", NULL, 1, 1, 1, 0, JOF_BYTE|JOF_PARENHEAD)
|
||||
@ -127,7 +127,7 @@ OPDEF(JSOP_ARGUMENTS, 9, js_arguments_str, js_arguments_str, 1, 0, 1, 18, JOF_BY
|
||||
OPDEF(JSOP_FORARG, 10, "forarg", NULL, 3, 2, 2, 19, JOF_QARG|JOF_NAME|JOF_FOR)
|
||||
OPDEF(JSOP_FORLOCAL, 11, "forlocal", NULL, 3, 2, 2, 19, JOF_LOCAL|JOF_NAME|JOF_FOR)
|
||||
|
||||
/* More longstanding bytecodes. */
|
||||
/* More long-standing bytecodes. */
|
||||
OPDEF(JSOP_DUP, 12, "dup", NULL, 1, 1, 2, 0, JOF_BYTE)
|
||||
OPDEF(JSOP_DUP2, 13, "dup2", NULL, 1, 2, 4, 0, JOF_BYTE)
|
||||
OPDEF(JSOP_SETCONST, 14, "setconst", NULL, 3, 1, 1, 3, JOF_ATOM|JOF_NAME|JOF_SET)
|
||||
|
@ -303,9 +303,9 @@ Tracker::has(const void *v) const
|
||||
}
|
||||
|
||||
#if defined NANOJIT_64BIT
|
||||
#define PAGEMASK 0x7ff
|
||||
#define PAGEMASK 0x7ff
|
||||
#else
|
||||
#define PAGEMASK 0xfff
|
||||
#define PAGEMASK 0xfff
|
||||
#endif
|
||||
|
||||
LIns*
|
||||
|
@ -79,9 +79,10 @@ public:
|
||||
}
|
||||
|
||||
bool contains(T a) {
|
||||
for (unsigned n = 0; n < _len; ++n)
|
||||
for (unsigned n = 0; n < _len; ++n) {
|
||||
if (_data[n] == a)
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user