| Index: src/mips64/macro-assembler-mips64.cc
|
| diff --git a/src/mips64/macro-assembler-mips64.cc b/src/mips64/macro-assembler-mips64.cc
|
| index a20de7bfea5d8cf117fc80772065a9315eb5d6fe..d703133152c6531a8cbd9168836b69d9a6d32361 100644
|
| --- a/src/mips64/macro-assembler-mips64.cc
|
| +++ b/src/mips64/macro-assembler-mips64.cc
|
| @@ -4937,32 +4937,6 @@ void MacroAssembler::GetMapConstructor(Register result, Register map,
|
| bind(&done);
|
| }
|
|
|
| -
|
| -void MacroAssembler::TryGetFunctionPrototype(Register function, Register result,
|
| - Register scratch, Label* miss) {
|
| - // Get the prototype or initial map from the function.
|
| - ld(result,
|
| - FieldMemOperand(function, JSFunction::kPrototypeOrInitialMapOffset));
|
| -
|
| - // If the prototype or initial map is the hole, don't return it and
|
| - // simply miss the cache instead. This will allow us to allocate a
|
| - // prototype object on-demand in the runtime system.
|
| - LoadRoot(t8, Heap::kTheHoleValueRootIndex);
|
| - Branch(miss, eq, result, Operand(t8));
|
| -
|
| - // If the function does not have an initial map, we're done.
|
| - Label done;
|
| - GetObjectType(result, scratch, scratch);
|
| - Branch(&done, ne, scratch, Operand(MAP_TYPE));
|
| -
|
| - // Get the prototype from the initial map.
|
| - ld(result, FieldMemOperand(result, Map::kPrototypeOffset));
|
| -
|
| - // All done.
|
| - bind(&done);
|
| -}
|
| -
|
| -
|
| void MacroAssembler::GetObjectType(Register object,
|
| Register map,
|
| Register type_reg) {
|
|
|