| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 3af52a41993a8a7b857e56d751464f6f29fc86e6..2a959c968f244b1257a59b87beacbd2afcc9406b 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -1442,7 +1442,8 @@ class Object : public MaybeObject {
|
| // Oddball testing.
|
| INLINE(bool IsUndefined());
|
| INLINE(bool IsNull());
|
| - INLINE(bool IsTheHole()); // Shadows MaybeObject's implementation.
|
| + INLINE(bool IsTheHole());
|
| + INLINE(bool IsException());
|
| INLINE(bool IsUninitialized());
|
| INLINE(bool IsTrue());
|
| INLINE(bool IsFalse());
|
| @@ -1523,7 +1524,6 @@ class Object : public MaybeObject {
|
| // Failure is returned otherwise.
|
| static MUST_USE_RESULT inline Handle<Object> ToSmi(Isolate* isolate,
|
| Handle<Object> object);
|
| - MUST_USE_RESULT inline MaybeObject* ToSmi();
|
|
|
| void Lookup(Name* name, LookupResult* result);
|
|
|
| @@ -9786,6 +9786,7 @@ class Oddball: public HeapObject {
|
| static const byte kUndefined = 5;
|
| static const byte kUninitialized = 6;
|
| static const byte kOther = 7;
|
| + static const byte kException = 8;
|
|
|
| typedef FixedBodyDescriptor<kToStringOffset,
|
| kToNumberOffset + kPointerSize,
|
|
|