diff options
Diffstat (limited to 'vm/compiler/codegen/arm/armv5te-vfp/ArchVariant.c')
| -rw-r--r-- | vm/compiler/codegen/arm/armv5te-vfp/ArchVariant.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vm/compiler/codegen/arm/armv5te-vfp/ArchVariant.c b/vm/compiler/codegen/arm/armv5te-vfp/ArchVariant.c index c857fa53b..076f5f15a 100644 --- a/vm/compiler/codegen/arm/armv5te-vfp/ArchVariant.c +++ b/vm/compiler/codegen/arm/armv5te-vfp/ArchVariant.c @@ -74,9 +74,9 @@ bool dvmCompilerArchVariantInit(void) * EA is calculated by doing "Rn + imm5 << 2". Make sure that the last * offset from the struct is less than 128. */ - if ((offsetof(InterpState, jitToInterpEntries) + + if ((offsetof(Thread, jitToInterpEntries) + sizeof(struct JitToInterpEntries)) >= 128) { - LOGE("InterpState.jitToInterpEntries size overflow"); + LOGE("Thread.jitToInterpEntries size overflow"); dvmAbort(); } |
