Port r22382 (
84a841f)
BUG=
R=akos.palfi@imgtec.com
Review URL: https://codereview.chromium.org/
395503002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22386
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
} else if (!var->is_const_mode() || op == Token::INIT_CONST) {
if (var->IsLookupSlot()) {
- ASSERT(op == Token::ASSIGN || op == Token::INIT_VAR ||
- op == Token::ASSIGN_ADD);
// Assignment to var.
__ li(a1, Operand(var->name()));
__ li(a0, Operand(Smi::FromInt(strict_mode())));
} else if (!var->is_const_mode() || op == Token::INIT_CONST) {
if (var->IsLookupSlot()) {
- ASSERT(op == Token::ASSIGN || op == Token::INIT_VAR ||
- op == Token::ASSIGN_ADD);
// Assignment to var.
__ li(a4, Operand(var->name()));
__ li(a3, Operand(Smi::FromInt(strict_mode())));