| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 6fe4f3a79c8eccc69e71b88e8376bf303062cbb1..71bd97a625aa544cd341da5abd134e8c1cac048f 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -924,17 +924,11 @@ class MaybeObject BASE_EMBEDDED {
|
| inline bool IsFailure();
|
| inline bool IsRetryAfterGC();
|
| inline bool IsException();
|
| - INLINE(bool IsTheHole());
|
| - INLINE(bool IsUninitialized());
|
| inline bool ToObject(Object** obj) {
|
| if (IsFailure()) return false;
|
| *obj = reinterpret_cast<Object*>(this);
|
| return true;
|
| }
|
| - inline Failure* ToFailureUnchecked() {
|
| - ASSERT(IsFailure());
|
| - return reinterpret_cast<Failure*>(this);
|
| - }
|
| inline Object* ToObjectUnchecked() {
|
| // TODO(jkummerow): Turn this back into an ASSERT when we can be certain
|
| // that it never fires in Release mode in the wild.
|
| @@ -953,13 +947,6 @@ class MaybeObject BASE_EMBEDDED {
|
| return true;
|
| }
|
|
|
| - template<typename T>
|
| - inline bool ToHandle(Handle<T>* obj, Isolate* isolate) {
|
| - if (IsFailure()) return false;
|
| - *obj = handle(T::cast(reinterpret_cast<Object*>(this)), isolate);
|
| - return true;
|
| - }
|
| -
|
| #ifdef OBJECT_PRINT
|
| // Prints this object with details.
|
| void Print();
|
| @@ -1710,8 +1697,6 @@ class Failure: public MaybeObject {
|
| // Returns the space that needs to be collected for RetryAfterGC failures.
|
| inline AllocationSpace allocation_space() const;
|
|
|
| - inline bool IsInternalError() const;
|
| -
|
| static inline Failure* RetryAfterGC(AllocationSpace space);
|
| static inline Failure* RetryAfterGC(); // NEW_SPACE
|
| static inline Failure* Exception();
|
|
|