Commit 67c9cd82 authored by dcarney@chromium.org's avatar dcarney@chromium.org

build fix for 15107

TBR=svenpanne@chromium.org
BUG=

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15110 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 274221b0
......@@ -5145,7 +5145,11 @@ Handle<v8::Array> NonStrictArgsIndexedPropertyEnumerator(
"keys;"));
Local<Object> result =
Local<Object>::Cast(indexed_property_names_script->Run());
return *reinterpret_cast<Local<v8::Array>*>(&result);
// Have to populate the handle manually, as it's not Cast-able.
Local<v8::Array> array_result;
Object** ptr = reinterpret_cast<Object**>(&array_result);
*ptr = *reinterpret_cast<Object**>(&result);
return array_result;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment