Home | History | Annotate | Download | only in mirror

Lines Matching refs:method

17 #include "method.h"
27 GcRoot<Class> Method::static_class_;
28 GcRoot<Class> Method::array_class_;
32 void Method::SetClass(Class* klass) {
38 void Method::ResetClass() {
43 void Method::SetArrayClass(Class* klass) {
49 void Method::ResetArrayClass() {
55 Method* Method::CreateFromArtMethod(Thread* self, ArtMethod* method) {
56 DCHECK(!method->IsConstructor()) << PrettyMethod(method);
57 auto* ret = down_cast<Method*>(StaticClass()->AllocObject(self));
59 static_cast<AbstractMethod*>(ret)->CreateFromArtMethod<kTransactionActive>(method);
64 template Method* Method::CreateFromArtMethod<false>(Thread* self, ArtMethod* method);
65 template Method* Method::CreateFromArtMethod<true>(Thread* self, ArtMethod* method);
67 void Method::VisitRoots(RootVisitor* visitor) {
100 Constructor* Constructor::CreateFromArtMethod(Thread* self, ArtMethod* method) {
101 DCHECK(method->IsConstructor()) << PrettyMethod(method);
104 static_cast<AbstractMethod*>(ret)->CreateFromArtMethod<kTransactionActive>(method);
109 template Constructor* Constructor::CreateFromArtMethod<false>(Thread* self, ArtMethod* method);
110 template Constructor* Constructor::CreateFromArtMethod<true>(Thread* self, ArtMethod* method);