Make ShadowFrame fields const when not in portable.

ShadowFrames in quick don't need the HasReferenceArray test as they always have
a reference array. Make the method_ and number_of_vregs_ fields const to aid
G++'s optimization of the interpreter.

Modify the OFFSETOF_MEMBER macro to handle const fields.

Change-Id: I696480789190f7c5190449b9c278d37853903a5e
2 files changed
tree: 2abfaf7d42e5aaabdc1faaeeda01f5a904fd64ed
  1. .gitignore
  3. build/
  4. jdwpspy/
  5. src/
  6. test/
  7. tools/