Make v8 compilable without V8_USE_UNSAFE_HANDLES.
authordcarney@chromium.org <dcarney@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 6 May 2013 13:01:03 +0000 (13:01 +0000)
committerdcarney@chromium.org <dcarney@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 6 May 2013 13:01:03 +0000 (13:01 +0000)
commit1a9997ee3743003c2c29038567182761f589f500
tree6480ba2cf08d62c8ada5f83ab9ed3223ad554005
parent2d902c12a78b5304845d695e7828cc8882b698e2
Make v8 compilable without V8_USE_UNSAFE_HANDLES.

Without this modification, we get this error: "dereferencing type-punned pointer
will break strict-aliasing rules" (GCC strict aliasing).

Also included small CcTest sanity fixes: isolate() cannot return anything else
than default_isolate().

BUG=
TBR=dcarney@chromium.org

Review URL: https://codereview.chromium.org/14894006

Patch from Marja Hölttä <marja@chromium.org>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14554 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
test/cctest/cctest.h