Skip to content

Commit

Permalink
updated generated
Browse files Browse the repository at this point in the history
git-svn-id: http://dev.corsaair.com/svn/redtamarin/trunk@1796 8266667d-5eeb-4550-8638-74b212e0aa7d
  • Loading branch information
zwetan committed Feb 3, 2016
1 parent 6494a24 commit 13f8c7b
Show file tree
Hide file tree
Showing 4 changed files with 12,355 additions and 12,411 deletions.
81 changes: 0 additions & 81 deletions src/generated/shell_toplevel-classes.hh
Original file line number Diff line number Diff line change
Expand Up @@ -9,87 +9,6 @@

namespace avmplus {

//-----------------------------------------------------------
// C::__c
//-----------------------------------------------------------
class __cObject : public avmplus::ScriptObject
{
GC_DECLARE_EXACT_METHODS
public:
AvmThunk_DEBUG_ONLY( virtual avmplus::Atom construct(int argc, avmplus::Atom* argv); )
private:
AvmThunk_DEBUG_ONLY( virtual void createInstance() { AvmAssert(0); } )
private:
friend class avmplus::NativeID::SlotOffsetsAndAsserts;
protected:
friend class avmplus::__cClass;
REALLY_INLINE explicit __cObject(VTable* ivtable, ScriptObject* delegate) : avmplus::ScriptObject(ivtable, delegate) {}
private:
explicit __cObject(const __cObject&); // unimplemented
void operator=(const __cObject&); // unimplemented
};

#define avmplus___cObject_isExactInterlock 1
//-----------------------------------------------------------
// C::__c$
//-----------------------------------------------------------
class __cClass : public avmplus::ClassClosure
{
GC_DECLARE_EXACT_METHODS
public:
static avmplus::ClassClosure* FASTCALL createClassClosure(avmplus::VTable* cvtable);
public:
static avmplus::ScriptObject* FASTCALL createInstanceProc(avmplus::ClassClosure*);
public:
AvmThunk_DEBUG_ONLY( virtual avmplus::Atom construct(int argc, avmplus::Atom* argv); )
private:
AvmThunk_DEBUG_ONLY( virtual void createInstance() { AvmAssert(0); } )
public:
inline GCRef<avmplus::__cObject> constructObject()
{
avmplus::Atom args[1] = { thisRef.reinterpretCast<avmplus::ScriptObject>()->atom() };
avmplus::Atom const result = this->construct(0, args);
return GCRef<avmplus::__cObject>((avmplus::__cObject*)(avmplus::AvmCore::atomToScriptObject(result)));
}
public:
REALLY_INLINE bool isType(avmplus::Atom value)
{
return isTypeImpl(value);
}
REALLY_INLINE bool isType(GCRef<avmplus::ScriptObject> value)
{
return isTypeImpl(value->atom());
}
REALLY_INLINE GCRef<avmplus::__cObject> asType(avmplus::Atom value)
{
avmplus::Atom const result = asTypeImpl(value);
return GCRef<avmplus::__cObject>((avmplus::__cObject*)(avmplus::AvmCore::atomToScriptObject(result)));
}
REALLY_INLINE GCRef<avmplus::__cObject> asType(GCRef<avmplus::ScriptObject> value)
{
avmplus::Atom const result = asTypeImpl(value->atom());
return GCRef<avmplus::__cObject>((avmplus::__cObject*)(avmplus::AvmCore::atomToScriptObject(result)));
}
REALLY_INLINE GCRef<avmplus::__cObject> coerceToType(avmplus::Atom value)
{
avmplus::Atom const result = coerceToTypeImpl(value);
return GCRef<avmplus::__cObject>((avmplus::__cObject*)(avmplus::AvmCore::atomToScriptObject(result)));
}
REALLY_INLINE GCRef<avmplus::__cObject> coerceToType(GCRef<avmplus::ScriptObject> value)
{
avmplus::Atom const result = coerceToTypeImpl(value->atom());
return GCRef<avmplus::__cObject>((avmplus::__cObject*)(avmplus::AvmCore::atomToScriptObject(result)));
}
private:
friend class avmplus::NativeID::SlotOffsetsAndAsserts;
protected:
inline explicit __cClass(VTable* cvtable) : avmplus::ClassClosure(cvtable) { createVanillaPrototype(); }
private:
explicit __cClass(const __cClass&); // unimplemented
void operator=(const __cClass&); // unimplemented
};

#define avmplus___cClass_isExactInterlock 1
//-----------------------------------------------------------
// C.ctype::__ctype
//-----------------------------------------------------------
Expand Down
Binary file modified src/generated/shell_toplevel.abc
Binary file not shown.
Loading

0 comments on commit 13f8c7b

Please sign in to comment.