| Index: src/mips64/macro-assembler-mips64.cc
|
| diff --git a/src/mips64/macro-assembler-mips64.cc b/src/mips64/macro-assembler-mips64.cc
|
| index 687c917b2e7d9ca3b78a760632416f326e00788d..f1f0e0722f3c05320f43aaaa7c5492e3e3ca9370 100644
|
| --- a/src/mips64/macro-assembler-mips64.cc
|
| +++ b/src/mips64/macro-assembler-mips64.cc
|
| @@ -5973,6 +5973,17 @@ void MacroAssembler::AssertBoundFunction(Register object) {
|
| }
|
|
|
|
|
| +void MacroAssembler::AssertReceiver(Register object) {
|
| + if (emit_debug_code()) {
|
| + STATIC_ASSERT(kSmiTag == 0);
|
| + SmiTst(object, t8);
|
| + Check(ne, kOperandIsASmiAndNotAReceiver, t8, Operand(zero_reg));
|
| + GetObjectType(object, t8, t8);
|
| + Check(ge, kOperandIsNotAReceiver, t8, Operand(FIRST_JS_RECEIVER_TYPE));
|
| + }
|
| +}
|
| +
|
| +
|
| void MacroAssembler::AssertUndefinedOrAllocationSite(Register object,
|
| Register scratch) {
|
| if (emit_debug_code()) {
|
|
|