diff options
| author | Carl Shapiro <cshapiro@google.com> | 2011-04-29 19:19:46 -0700 |
|---|---|---|
| committer | Carl Shapiro <cshapiro@google.com> | 2011-04-29 19:19:55 -0700 |
| commit | 92a3b69286a757afff76402d8a0d5ec04d7f177c (patch) | |
| tree | 15a7ccc2e7a192e5c2f28daa751a3a98f33e45e9 /vm/compiler/codegen/CodegenFactory.cpp | |
| parent | 08351f6ad0e6efa40955cc37a64cc29a7daa031b (diff) | |
Type the reference member of JValue as an Object pointer.
Previously this had been a void pointer. To avoid adding lots of
casts from the logical Object subtypes to Object the RETURN_PTR macro
silently casts its argument to an Object* before performing an
assignment to the JValue return value. After an inheritance
relationship is established between Object and its subtypes this cast
can be removed.
Change-Id: Id05e5c11e57e2a9afd12bad0be095f1dfe9e1f51
Diffstat (limited to 'vm/compiler/codegen/CodegenFactory.cpp')
0 files changed, 0 insertions, 0 deletions
