 Chromium Code Reviews
 Chromium Code Reviews Issue 209013:
  Add Object::IsDirty function in the API.  (Closed) 
  Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
    
  
    Issue 209013:
  Add Object::IsDirty function in the API.  (Closed) 
  Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/| Index: src/objects.h | 
| =================================================================== | 
| --- src/objects.h (revision 2910) | 
| +++ src/objects.h (working copy) | 
| @@ -1427,6 +1427,10 @@ | 
| // Tells whether this object needs to be loaded. | 
| inline bool IsLoaded(); | 
| + | 
| + // Returns true if this is an instance of an api function and has | 
| + // been modified since it was created. May give false positives. | 
| + bool IsDirty(); | 
| bool HasProperty(String* name) { | 
| return GetPropertyAttribute(name) != ABSENT; |