Kludge: don't let getClass make it into bytecode.
References SI-4931, no review. git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@25531 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
parent
9df857c88a
commit
d0be5ef5b8
|
@ -795,6 +795,7 @@ abstract class GenJVM extends SubComponent with GenJVMUtil with GenAndroid with
|
|||
|
||||
def genMethod(m: IMethod) {
|
||||
if (m.symbol.isStaticConstructor) return
|
||||
if (m.symbol.name == nme.getClass_) return
|
||||
|
||||
debuglog("Generating method " + m.symbol.fullName)
|
||||
method = m
|
||||
|
|
Loading…
Reference in New Issue