Revision: 16442
Author: [email protected]
Date: Fri Aug 30 09:03:27 2013 UTC
Log: fix eternal casts
[email protected]
BUG=
Review URL: https://codereview.chromium.org/23532017
http://code.google.com/p/v8/source/detail?r=16442
Modified:
/branches/bleeding_edge/include/v8.h
=======================================
--- /branches/bleeding_edge/include/v8.h Thu Aug 29 10:42:55 2013 UTC
+++ /branches/bleeding_edge/include/v8.h Fri Aug 30 09:03:27 2013 UTC
@@ -5578,13 +5578,13 @@
template<class S>
void Eternal<T>::Set(Isolate* isolate, Local<S> handle) {
TYPE_CHECK(T, S);
- V8::Eternalize(isolate, Value::Cast(*handle), &this->index_);
+ V8::Eternalize(isolate, reinterpret_cast<Value*>(*handle),
&this->index_);
}
template<class T>
Local<T> Eternal<T>::Get(Isolate* isolate) {
- return Local<T>::Cast(V8::GetEternal(isolate, index_));
+ return Local<T>(reinterpret_cast<T*>(*V8::GetEternal(isolate, index_)));
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.