MIPS: Fix 'MIPS: Move Maps' back pointers from "transitions" to "constructor" field'.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#26860}
This commit is contained in:
balazs.kilvady 2015-02-25 08:41:48 -08:00 committed by Commit bot
parent e928c9d52b
commit 296b5b0e3a
4 changed files with 2 additions and 4 deletions

View File

@ -2659,7 +2659,6 @@ void LCodeGen::EmitClassOfTest(Label* is_true,
// Check if the constructor in the map is a function.
Register instance_type = scratch1();
DCHECK(!instance_type.is(temp));
DCHECK(!instance_type.is(temp2));
__ GetMapConstructor(temp, temp, temp2, instance_type);
// Objects with a non-function constructor have class 'Object'.

View File

@ -4387,7 +4387,7 @@ void MacroAssembler::TryGetFunctionPrototype(Register function,
// Non-instance prototype: Fetch prototype from constructor field
// in initial map.
bind(&non_instance);
GetMapConstructor(result, result, scratch, at);
GetMapConstructor(result, result, scratch, scratch);
}
// All done.

View File

@ -2620,7 +2620,6 @@ void LCodeGen::EmitClassOfTest(Label* is_true,
// Check if the constructor in the map is a function.
Register instance_type = scratch1();
DCHECK(!instance_type.is(temp));
DCHECK(!instance_type.is(temp2));
__ GetMapConstructor(temp, temp, temp2, instance_type);
// Objects with a non-function constructor have class 'Object'.

View File

@ -4309,7 +4309,7 @@ void MacroAssembler::TryGetFunctionPrototype(Register function,
// Non-instance prototype: Fetch prototype from constructor field
// in initial map.
bind(&non_instance);
GetMapConstructor(result, result, scratch, at);
GetMapConstructor(result, result, scratch, scratch);
}
// All done.