diff --git a/jit/analyze.ts b/jit/analyze.ts index e575672b..a6131d28 100644 --- a/jit/analyze.ts +++ b/jit/analyze.ts @@ -87,6 +87,9 @@ module J2ME { } export function isFinalMethod(methodInfo: MethodInfo): boolean { + if (isFinalClass(methodInfo.classInfo)) { + return true; + } // XXX Determine whether we can start using the code in this function. return false; var result = methodInfo.isFinal;