Index: src/ia32/macro-assembler-ia32.h |
diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h |
index 7f393c99797bc3c6fadf3ab615f06aea42e75cea..863d778c9ced359b4bffb24d0ef138eab5fe08f9 100644 |
--- a/src/ia32/macro-assembler-ia32.h |
+++ b/src/ia32/macro-assembler-ia32.h |
@@ -549,6 +549,10 @@ class MacroAssembler: public Assembler { |
// Abort execution if argument is not a name, enabled via --debug-code. |
void AssertName(Register object); |
+ // Abort execution if argument is not undefined or an AllocationSite, enabled |
+ // via --debug-code. |
+ void AssertUndefinedOrAllocationSite(Register object); |
+ |
// --------------------------------------------------------------------------- |
// Exception handling |