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
This commit is contained in:
parent
274221b06c
commit
67c9cd8274
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user