Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index d1e5acff893d65b008606969db7241a873602656..c71dd9f3ef461ab43d5e355a5e888017a08f607c 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -5401,7 +5401,8 @@ class Code: public HeapObject { |
#endif |
#ifdef DEBUG |
- void VerifyEmbeddedObjectsInFullCode(); |
+ enum VerifyMode { kNoContextSpecificPointers, kNoContextRetainingPointers }; |
+ void VerifyEmbeddedObjects(VerifyMode mode = kNoContextRetainingPointers); |
#endif // DEBUG |
inline bool CanContainWeakObjects() { |