Optimizing compiler never inserts checkstore checks in inlined code

Description

When I investigated the bug with passing of command line arguments in test runs (see RVM-1035), I discovered that the pre-commit test run was failing. In particular, the CheckStore subtest of InvokeReflect from the opttests test was failing: the test expected two ArrayStoreException to be thrown but none were thrown.

This issue tracks the CheckStore bug.

The bug is in the createChildContext(..) method. It does not set the doesCheckStore property so that property is false by default which leads to the checks not being inserted.

Environment

All (IA32 + PPC)

Status

Assignee

Erik Brangs

Reporter

Erik Brangs

Labels

None

Components

Fix versions

Affects versions

Priority

Medium
Configure