Commit b4b51100 authored by akos.palfi's avatar akos.palfi Committed by Commit bot

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}
parent 85f32f1f
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment