Bug 720316 - Remove the entirely-unused JOF_SLOTATOM. r=luke
This commit is contained in:
@@ -334,11 +334,7 @@ frontend::CompileScript(JSContext *cx, JSObject *scopeChain, StackFrame *callerF
|
||||
len = (cs->length > 0)
|
||||
? (uintN) cs->length
|
||||
: js_GetVariableBytecodeLength(code);
|
||||
if ((cs->format & JOF_SHARPSLOT) ||
|
||||
JOF_TYPE(cs->format) == JOF_LOCAL ||
|
||||
(JOF_TYPE(cs->format) == JOF_SLOTATOM)) {
|
||||
JS_ASSERT_IF(!(cs->format & JOF_SHARPSLOT),
|
||||
JOF_TYPE(cs->format) != JOF_SLOTATOM);
|
||||
if ((cs->format & JOF_SHARPSLOT) || JOF_TYPE(cs->format) == JOF_LOCAL) {
|
||||
slot = GET_SLOTNO(code);
|
||||
if (!(cs->format & JOF_SHARPSLOT))
|
||||
slot += bce.sharpSlots();
|
||||
|
||||
Reference in New Issue
Block a user