Fix types.

R=mstarzinger@chromium.org
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10748002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12021 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
rossberg@chromium.org 2012-07-09 16:31:49 +00:00
parent b7d1659661
commit 090830e411

View File

@ -859,8 +859,8 @@ Handle<AccessorInfo> Accessors::MakeModuleExport(
info->set_all_can_write(true);
info->set_name(*name);
info->set_data(Smi::FromInt(index));
Handle<Foreign> getter = v8::FromCData(&ModuleGetExport);
Handle<Foreign> setter = v8::FromCData(&ModuleSetExport);
Handle<Object> getter = v8::FromCData(&ModuleGetExport);
Handle<Object> setter = v8::FromCData(&ModuleSetExport);
info->set_getter(*getter);
if (!(attributes & ReadOnly)) info->set_setter(*setter);
return info;