Index: src/objects.h |
=================================================================== |
--- src/objects.h (revision 546) |
+++ src/objects.h (working copy) |
@@ -812,6 +812,7 @@ |
inline bool IsOutOfMemoryException() const; |
static Failure* RetryAfterGC(int requested_bytes, AllocationSpace space); |
+ static inline Failure* RetryAfterGC(int requested_bytes); // NEW_SPACE |
Kasper Lund
2008/10/22 08:17:21
How about renaming this to avoid the overloading?
|
static inline Failure* Exception(); |
static inline Failure* InternalError(); |
static inline Failure* OutOfMemoryException(); |
@@ -996,10 +997,6 @@ |
// of this struct. |
void IterateStructBody(int object_size, ObjectVisitor* v); |
- // Copy the body from the 'from' object to this. |
- // Please note the two object must have the same map prior to the call. |
- inline void CopyBody(JSObject* from); |
- |
// Returns the heap object's size in bytes |
inline int Size(); |
@@ -1253,11 +1250,6 @@ |
inline Object* GetInternalField(int index); |
inline void SetInternalField(int index, Object* value); |
- // Returns a deep copy of the JavaScript object. |
- // Properties and elements are copied too. |
- // Returns failure if allocation failed. |
- Object* Copy(PretenureFlag pretenure = NOT_TENURED); |
- |
// Lookup a property. If found, the result is valid and has |
// detailed information. |
void LocalLookup(String* name, LookupResult* result); |