diff options
Diffstat (limited to 'src/compiler/codegen/MethodCodegenDriver.cc')
| -rw-r--r-- | src/compiler/codegen/MethodCodegenDriver.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/compiler/codegen/MethodCodegenDriver.cc b/src/compiler/codegen/MethodCodegenDriver.cc index 3a80d1063c..3321c33cf6 100644 --- a/src/compiler/codegen/MethodCodegenDriver.cc +++ b/src/compiler/codegen/MethodCodegenDriver.cc @@ -83,8 +83,11 @@ void genInvoke(CompilationUnit* cUnit, CallInfo* info) directMethod) && !SLOW_INVOKE_PATH; if (info->type == kInterface) { + if (fastPath) { + pNullCk = &nullCk; + } nextCallInsn = fastPath ? nextInterfaceCallInsn - : nextInterfaceCallInsnWithAccessCheck; + : nextInterfaceCallInsnWithAccessCheck; skipThis = false; } else if (info->type == kDirect) { if (fastPath) { |