OSDN Git Service

Jit: Make most Jit compile failures non-fatal; just abort offending translation
authorBill Buzbee <buzbee@google.com>
Sun, 7 Mar 2010 07:30:57 +0000 (23:30 -0800)
committerBill Buzbee <buzbee@google.com>
Sun, 7 Mar 2010 16:24:00 +0000 (08:24 -0800)
commitfc519dc8f4444f6d93806ec15ce7445b322070fd
tree7128bbc741b5125cbe85300e1cd264ab3aca6bde
parent164d1279b67ec13061e473cb453b1ff24189e0e0
Jit: Make most Jit compile failures non-fatal; just abort offending translation

Issue 2175597 Jit compile failures should abort translation, but not the VM

Added new dvmCompileAbort() to replace uses of dvmAbort() when something goes
wrong during the compliation of a trace.  In that case, we'll abort the translation
and set it's head to the interpret-only "translation".
14 files changed:
vm/compiler/Compiler.c
vm/compiler/Compiler.h
vm/compiler/CompilerIR.h
vm/compiler/Frontend.c
vm/compiler/IntermediateRep.c
vm/compiler/Loop.c
vm/compiler/Utility.c
vm/compiler/codegen/arm/Assemble.c
vm/compiler/codegen/arm/CodegenCommon.c
vm/compiler/codegen/arm/CodegenDriver.c
vm/compiler/codegen/arm/RallocUtil.c
vm/compiler/codegen/arm/Thumb/Factory.c
vm/compiler/codegen/arm/Thumb2/Factory.c
vm/compiler/codegen/arm/Thumb2/Gen.c