Maybe that last commit was closer than I thought. Don't let
0-arg getClass reach bytecode. References SI-4931, no review. git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@25534 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
parent
1c824a3fe8
commit
93d7c3be9b
|
@ -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_) && m.params.isEmpty) return
|
||||
|
||||
debuglog("Generating method " + m.symbol.fullName)
|
||||
method = m
|
||||
|
|
Loading…
Reference in New Issue