OSDN Git Service

Store the key value with switch and catch blocks.
authorBen Cheng <bccheng@android.com>
Wed, 15 Dec 2010 22:18:31 +0000 (14:18 -0800)
committerBen Cheng <bccheng@android.com>
Wed, 15 Dec 2010 22:36:07 +0000 (14:36 -0800)
commit7a02cb14a0e6ced63a48e7d1a2a1977df91c49ad
tree67d9c3524fe602af77f4d6557a1f150bf6e145de
parent637dcadf049c3a15d87292e189600036750f2d38
Store the key value with switch and catch blocks.

For switch blocks, the key is the enum value with the case.
For catch blocks, the key is the type id of the exception.

Change-Id: I66a7e31c917aba63a0b455ce1796e3d5e277ca5a
vm/compiler/CompilerIR.h
vm/compiler/Frontend.c
vm/compiler/MethodSSATransformation.c