MIPS64: Fix 'Array length reduction should throw in strict mode if it can't delete an element.'

BUG=

Review URL: https://codereview.chromium.org/1632643002

Cr-Commit-Position: refs/heads/master@{#33493}
This commit is contained in:
akos.palfi 2016-01-25 07:25:20 -08:00 committed by Commit bot
parent 85f32f1fc8
commit b4b5110009

View File

@ -602,7 +602,7 @@ void NamedLoadHandlerCompiler::GenerateLoadCallback(
// Here and below +1 is for name() pushed after the args_ array.
typedef PropertyCallbackArguments PCA;
__ Dsubu(sp, sp, (PCA::kArgsLength + 1) * kPointerSize);
__ sw(receiver(), MemOperand(sp, (PCA::kThisIndex + 1) * kPointerSize));
__ sd(receiver(), MemOperand(sp, (PCA::kThisIndex + 1) * kPointerSize));
Handle<Object> data(callback->data(), isolate());
if (data->IsUndefined() || data->IsSmi()) {
__ li(scratch2(), data);