Revision: 15110
Author: [email protected]
Date: Thu Jun 13 03:13:09 2013
Log: build fix for 15107
[email protected]
BUG=
Review URL: https://codereview.chromium.org/16944003
http://code.google.com/p/v8/source/detail?r=15110
Modified:
/branches/bleeding_edge/test/cctest/test-api.cc
=======================================
--- /branches/bleeding_edge/test/cctest/test-api.cc Thu Jun 13 02:27:09 2013
+++ /branches/bleeding_edge/test/cctest/test-api.cc Thu Jun 13 03:13:09 2013
@@ -5145,7 +5145,11 @@
"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;
}
--
--
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.