зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 9b0c51ce33e8 (bug 1331092)
This commit is contained in:
Родитель
cfb989f1e2
Коммит
254bd5bfcc
|
@ -2027,12 +2027,8 @@ ExpressionDecompiler::decompilePC(jsbytecode* pc, uint8_t defIndex)
|
|||
case JSOP_LAMBDA:
|
||||
case JSOP_LAMBDA_ARROW:
|
||||
case JSOP_TOASYNC:
|
||||
case JSOP_TOASYNCGEN:
|
||||
return write("FUN");
|
||||
|
||||
case JSOP_TOASYNCITER:
|
||||
return write("ASYNCITER");
|
||||
|
||||
case JSOP_MOREITER:
|
||||
// For stack dump, defIndex == 0 is not used.
|
||||
MOZ_ASSERT(defIndex == 1);
|
||||
|
@ -2075,7 +2071,6 @@ ExpressionDecompiler::decompilePC(jsbytecode* pc, uint8_t defIndex)
|
|||
case JSOP_UNINITIALIZED:
|
||||
return write("UNINITIALIZED");
|
||||
|
||||
case JSOP_AWAIT:
|
||||
case JSOP_YIELD:
|
||||
// Printing "yield SOMETHING" is confusing since the operand doesn't
|
||||
// match to the syntax, since the stack operand for "yield 10" is
|
||||
|
|
Загрузка…
Ссылка в новой задаче