| changeset 68 | b40b0e18a918 |
| parent 59 | b7d61ddb3c8d |
1.1 --- a/jitcraft/Reference.h Mon Jul 09 22:25:52 2012 -0700 1.2 +++ b/jitcraft/Reference.h Tue Jul 10 02:11:13 2012 -0700 1.3 @@ -51,6 +51,11 @@ 1.4 *reinterpret_cast<float *>(location_) = f; 1.5 } 1.6 1.7 + // WARNING! This should only be for Native calls. 1.8 + void *location() { 1.9 + return location_; 1.10 + } 1.11 + 1.12 // Begin GC Descriptor. 1.13 static inline size_t offsetOfBase() { 1.14 return offsetof(Reference, base_);