Commit af673677 authored by mbrandy's avatar mbrandy Committed by Commit bot

PPC: Remove obsolete functionality from the MacroAssemblers.

Port 64e3bad3

Original commit message:
    This is uncontroversial the dead code removal part of
    https://codereview.chromium.org/1307943013, which was
    previously landed, but got reverted because of DOM
    breakage that requires more investigation.

R=bmeurer@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, dstence@us.ibm.com
BUG=

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

Cr-Commit-Position: refs/heads/master@{#30590}
parent cd6631ad
......@@ -1123,23 +1123,6 @@ void MacroAssembler::InvokeFunction(Handle<JSFunction> function,
}
void MacroAssembler::IsObjectJSObjectType(Register heap_object, Register map,
Register scratch, Label* fail) {
LoadP(map, FieldMemOperand(heap_object, HeapObject::kMapOffset));
IsInstanceJSObjectType(map, scratch, fail);
}
void MacroAssembler::IsInstanceJSObjectType(Register map, Register scratch,
Label* fail) {
lbz(scratch, FieldMemOperand(map, Map::kInstanceTypeOffset));
cmpi(scratch, Operand(FIRST_NONCALLABLE_SPEC_OBJECT_TYPE));
blt(fail);
cmpi(scratch, Operand(LAST_NONCALLABLE_SPEC_OBJECT_TYPE));
bgt(fail);
}
void MacroAssembler::IsObjectJSStringType(Register object, Register scratch,
Label* fail) {
DCHECK(kNotStringTag != 0);
......
......@@ -549,11 +549,6 @@ class MacroAssembler : public Assembler {
const ParameterCount& actual, InvokeFlag flag,
const CallWrapper& call_wrapper);
void IsObjectJSObjectType(Register heap_object, Register map,
Register scratch, Label* fail);
void IsInstanceJSObjectType(Register map, Register scratch, Label* fail);
void IsObjectJSStringType(Register object, Register scratch, Label* fail);
void IsObjectNameType(Register object, Register scratch, Label* fail);
......
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