Index: src/arm64/macro-assembler-arm64.h |
diff --git a/src/arm64/macro-assembler-arm64.h b/src/arm64/macro-assembler-arm64.h |
index 4b6b3c0fb1712e823c1db6f58ec4c8bc0c14fb89..4354b662db1a8f954a4a213333d2fa5097785599 100644 |
--- a/src/arm64/macro-assembler-arm64.h |
+++ b/src/arm64/macro-assembler-arm64.h |
@@ -970,6 +970,10 @@ class MacroAssembler : public Assembler { |
// Abort execution if argument is not a JSFunction, enabled via --debug-code. |
void AssertFunction(Register object); |
+ // Abort execution if argument is not a JSGeneratorObject, |
+ // enabled via --debug-code. |
+ void AssertGeneratorObject(Register object); |
+ |
// Abort execution if argument is not a JSBoundFunction, |
// enabled via --debug-code. |
void AssertBoundFunction(Register object); |