Index: src/x64/macro-assembler-x64.h |
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
index af3dd031ca16fb1d2baf35d3fba3343d6e2210fa..7a7de23fe0ea81de0f309f99d99cec9f1117d29e 100644 |
--- a/src/x64/macro-assembler-x64.h |
+++ b/src/x64/macro-assembler-x64.h |
@@ -1224,6 +1224,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); |