Index: src/ppc/macro-assembler-ppc.h |
diff --git a/src/ppc/macro-assembler-ppc.h b/src/ppc/macro-assembler-ppc.h |
index a529b627f27e17d17c07dde25ed409afab9c1cbc..baa51ab0915086b355ed9c30a662c1dd875a1fed 100644 |
--- a/src/ppc/macro-assembler-ppc.h |
+++ b/src/ppc/macro-assembler-ppc.h |
@@ -1380,6 +1380,10 @@ class MacroAssembler : public Assembler { |
// enabled via --debug-code. |
void AssertBoundFunction(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 JSReceiver, enabled via --debug-code. |
void AssertReceiver(Register object); |