Index: src/mips64/macro-assembler-mips64.h |
diff --git a/src/mips64/macro-assembler-mips64.h b/src/mips64/macro-assembler-mips64.h |
index 3a368ec166a991bd38a016e32c689d94a43310a8..c66145cf68d8407791ec7a08fd689802b55f04af 100644 |
--- a/src/mips64/macro-assembler-mips64.h |
+++ b/src/mips64/macro-assembler-mips64.h |
@@ -1705,6 +1705,9 @@ const Operand& rt = Operand(zero_reg), BranchDelaySlot bd = PROTECT |
// via --debug-code. |
void AssertUndefinedOrAllocationSite(Register object, Register scratch); |
+ // Abort if argument is not a valid API call result, enabled via --debug-code. |
+ void AssertApiCallResult(Register object); |
+ |
// Abort execution if reg is not the root value with the given index, |
// enabled via --debug-code. |
void AssertIsRoot(Register reg, Heap::RootListIndex index); |