Index: src/x87/macro-assembler-x87.h |
diff --git a/src/x87/macro-assembler-x87.h b/src/x87/macro-assembler-x87.h |
index 55714132f76c75d0ea974775f9a4624c62320707..b070d0766245afc1820e92800be6b76fdffa2e6a 100644 |
--- a/src/x87/macro-assembler-x87.h |
+++ b/src/x87/macro-assembler-x87.h |
@@ -552,6 +552,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); |