Chromium Code Reviews| Index: src/types.h |
| diff --git a/src/types.h b/src/types.h |
| index acd199d9c45062ab3d24c79f269fcfbef6141a4a..a6c065110555e23392ec40938f8a56956165034e 100644 |
| --- a/src/types.h |
| +++ b/src/types.h |
| @@ -120,6 +120,7 @@ class Type : public Object { |
| static Type* Array() { return from_bitset(kArray); } |
| static Type* Function() { return from_bitset(kFunction); } |
| static Type* Proxy() { return from_bitset(kProxy); } |
| + static Type* Internal() { return from_bitset(kInternal); } |
| static Type* Class(Handle<Map> map) { return from_handle(map); } |
| static Type* Constant(Handle<HeapObject> value) { |
| @@ -199,6 +200,7 @@ class Type : public Object { |
| kFunction = 1 << 11, |
| kOtherObject = 1 << 12, |
| kProxy = 1 << 13, |
| + kInternal = 1 << 14, |
| kOddball = kBoolean | kNull | kUndefined, |
| kInteger32 = kInteger31 | kOtherInteger, |
| @@ -209,7 +211,7 @@ class Type : public Object { |
| kObject = kUndetectable | kArray | kFunction | kOtherObject, |
| kReceiver = kObject | kProxy, |
| kAllocated = kDouble | kName | kReceiver, |
| - kAny = kOddball | kNumber | kAllocated, |
| + kAny = kOddball | kNumber | kAllocated | kInternal, |
|
rossberg
2013/06/25 10:47:38
I can't yet make up my mind whether Internal shoul
|
| kDetectable = kAllocated - kUndetectable, |
| kNone = 0 |
| }; |