Index: src/ia32/macro-assembler-ia32.h |
diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h |
index be11f662027c6f3256b1752ab38cb97a0f833f23..436e7be521aa95a0f98071732fba1d4381c354cc 100644 |
--- a/src/ia32/macro-assembler-ia32.h |
+++ b/src/ia32/macro-assembler-ia32.h |
@@ -566,6 +566,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); |