Commit b7d16596 authored by rossberg@chromium.org's avatar rossberg@chromium.org

Silence more warnings.

R=mstarzinger@chromium.org
BUG=
TEST=

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12020 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent b4cb3e28
...@@ -859,10 +859,10 @@ Handle<AccessorInfo> Accessors::MakeModuleExport( ...@@ -859,10 +859,10 @@ Handle<AccessorInfo> Accessors::MakeModuleExport(
info->set_all_can_write(true); info->set_all_can_write(true);
info->set_name(*name); info->set_name(*name);
info->set_data(Smi::FromInt(index)); info->set_data(Smi::FromInt(index));
v8::AccessorGetter getter = &ModuleGetExport; Handle<Foreign> getter = v8::FromCData(&ModuleGetExport);
v8::AccessorSetter setter = &ModuleSetExport; Handle<Foreign> setter = v8::FromCData(&ModuleSetExport);
info->set_getter(*v8::FromCData(getter)); info->set_getter(*getter);
if (!(attributes & ReadOnly)) info->set_setter(*v8::FromCData(setter)); if (!(attributes & ReadOnly)) info->set_setter(*setter);
return info; return info;
} }
......
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