Index: vm/native_arguments.h |
=================================================================== |
--- vm/native_arguments.h (revision 11327) |
+++ vm/native_arguments.h (working copy) |
@@ -66,6 +66,10 @@ |
void SetReturn(const Object& value) const; |
+ // If this function is misused, it could cause corruption. You may |
+ // only use this if Siva says it is ok. |
+ void SetReturnUnsafe(RawObject* value) const; |
Ivan Posva
2012/08/27 18:20:37
Can we make this a private and do some friend magi
turnidge
2012/08/28 18:08:21
I tried it but it got a little bit involved.
In o
turnidge
2012/08/29 20:36:49
As you suggested offline, I've created a Bootstrap
|
+ |
static intptr_t isolate_offset() { |
return OFFSET_OF(NativeArguments, isolate_); |
} |