diff options
Diffstat (limited to 'src/classlibnative/bcltype/objectnative.cpp')
-rw-r--r-- | src/classlibnative/bcltype/objectnative.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/classlibnative/bcltype/objectnative.cpp b/src/classlibnative/bcltype/objectnative.cpp index 82b189d5c8..a90a37a692 100644 --- a/src/classlibnative/bcltype/objectnative.cpp +++ b/src/classlibnative/bcltype/objectnative.cpp @@ -198,12 +198,6 @@ NOINLINE static Object* GetClassHelper(OBJECTREF objRef) TypeHandle typeHandle = objRef->GetTypeHandle(); OBJECTREF refType = NULL; - // Arrays go down this slow path, at least don't do the full HelperMethodFrame setup - // if we are fetching the cached entry. - refType = typeHandle.GetManagedClassObjectFast(); - if (refType != NULL) - return OBJECTREFToObject(refType); - HELPER_METHOD_FRAME_BEGIN_RET_ATTRIB_1(Frame::FRAME_ATTR_EXACT_DEPTH|Frame::FRAME_ATTR_CAPTURE_DEPTH_2, refType); refType = typeHandle.GetManagedClassObject(); |