aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/arm/CodegenDriver.cpp
diff options
context:
space:
mode:
authorjeffhao <jeffhao@google.com>2011-10-06 10:33:22 -0700
committerjeffhao <jeffhao@google.com>2011-10-06 10:33:22 -0700
commit32c482c90d0ddfaefff623702eb862a77bffa9b2 (patch)
treedd20e146fdea171655991f911ab1c7617b0e554d /vm/compiler/codegen/arm/CodegenDriver.cpp
parent5a459d4a923cd2160026cc58e4d3da0858028320 (diff)
Reordered some checks and added more to the verifier.
The verifier checks for 2 errors in put instructions. First, if the field can't be resolved, the instruction is overwritten to throw a verifier error. Second, if the data types of the field and instruction mismatch, the verifier rejects the whole class. This change swaps the order of the checks, so that if both errors occur, the class is rejected. Also, checks were added to prevent float values from being used as array indexes or arguments to if statements. Change-Id: I7b122f4ebc4043266be4466e10679c6319a788ef
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenDriver.cpp')
0 files changed, 0 insertions, 0 deletions