Change-Id: I36aafcfa43bced2b8315af39432cf7731daaf458
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
if (_function->isStrict)
throwSyntaxError(ast->deleteToken, "Delete of an unqualified identifier in strict mode.");
// can't delete an argument, just evaluate expr for side effects
- _expr.accept(nx);
+ _expr.code = _block->CONST(IR::BoolType, 0);
return false;
}
if (_function->isStrict && (*expr)->asName())
11.4.1-2-5 failing
11.4.1-2-6 failing
11.4.1-4.a-5 failing
-11.4.1-5-2 failing
S11.4.1_A1 failing
S11.4.1_A2.1 failing
S11.5.3_A4_T2 failing