Index: src/ia32/macro-assembler-ia32.h |
diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h |
index e754a871286bbdeb027135a3ec09ad6496429733..516c91e234586c412e3bce7e1797c63110b07262 100644 |
--- a/src/ia32/macro-assembler-ia32.h |
+++ b/src/ia32/macro-assembler-ia32.h |
@@ -536,6 +536,9 @@ class MacroAssembler: public Assembler { |
// via --debug-code. |
void AssertUndefinedOrAllocationSite(Register object); |
+ // Abort if argument is not a valid API call result, enabled via --debug-code. |
+ void AssertApiCallResult(Register object); |
+ |
// --------------------------------------------------------------------------- |
// Exception handling |