From: dcarney@chromium.org Date: Fri, 30 Aug 2013 09:03:27 +0000 (+0000) Subject: fix eternal casts X-Git-Tag: upstream/4.7.83~12736 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=740bfa5dd02379cf600f2da544f3b3a8974768a7;p=platform%2Fupstream%2Fv8.git fix eternal casts R=svenpanne@chromium.org BUG= Review URL: https://codereview.chromium.org/23532017 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16442 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/include/v8.h b/include/v8.h index 9ba928b..cfc1de6 100644 --- a/include/v8.h +++ b/include/v8.h @@ -5578,13 +5578,13 @@ template template void Eternal::Set(Isolate* isolate, Local handle) { TYPE_CHECK(T, S); - V8::Eternalize(isolate, Value::Cast(*handle), &this->index_); + V8::Eternalize(isolate, reinterpret_cast(*handle), &this->index_); } template Local Eternal::Get(Isolate* isolate) { - return Local::Cast(V8::GetEternal(isolate, index_)); + return Local(reinterpret_cast(*V8::GetEternal(isolate, index_))); }