• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * The VM spec says we should verify that the reference being stored into
3  * the field is assignment compatible.  In practice, many popular VMs don't
4  * do this because it slows down a very common operation.  It's not so bad
5  * for us, since "dexopt" quickens it whenever possible, but it's still an
6  * issue.
7  *
8  * To make this spec-complaint, we'd need to add a ClassObject pointer to
9  * the Field struct, resolve the field's type descriptor at link or class
10  * init time, and then verify the type here.
11  */
12 HANDLE_IPUT_X(OP_IPUT_OBJECT,           "-object", Object, _AS_OBJECT)
13 OP_END
14