| 432 | bool CanSetBase(Object *aNewBase); |
| 433 | ResultType SetBase(Object *aNewBase, ResultToken &aResultToken); |
| 434 | void SetBase(Object *aNewBase) |
| 435 | { |
| 436 | if (aNewBase) |
| 437 | aNewBase->AddRef(); |
| 438 | if (mBase) |
| 439 | mBase->Release(); |
| 440 | mBase = aNewBase; |
| 441 | } |
| 442 | |
| 443 | bool IsClassPrototype() { return mFlags & ClassPrototype; } |
| 444 | bool IsNativeClassPrototype() { return mFlags & NativeClassPrototype; } |