Ejemplo n.º 1
0
void PropertyCondition::validateReferences(const TrackedReferences& tracked) const
{
    if (hasPrototype())
        tracked.check(prototype());
    
    if (hasRequiredValue())
        tracked.check(requiredValue());
}
Ejemplo n.º 2
0
bool PropertyCondition::isStillLive() const
{
    if (hasPrototype() && prototype() && !Heap::isMarked(prototype()))
        return false;
    
    if (hasRequiredValue()
        && requiredValue()
        && requiredValue().isCell()
        && !Heap::isMarked(requiredValue().asCell()))
        return false;
    
    return true;
}
Ejemplo n.º 3
0
	bool RenderingAPIFactory::hasRenderer (const String& renderer) const 
	{ 
		return hasPrototype(renderer); 
	}
Ejemplo n.º 4
0
 v8::Handle<v8::Value> prototype() const { assert(hasPrototype()); return mPrototype; }