| Index: src/full-codegen.cc
|
| diff --git a/src/full-codegen.cc b/src/full-codegen.cc
|
| index fec9ee565d2baf753e07997663040fce9b585e16..483d1e378d49307d84cf1be57a66de7c82fc1da0 100644
|
| --- a/src/full-codegen.cc
|
| +++ b/src/full-codegen.cc
|
| @@ -1579,7 +1579,8 @@ void FullCodeGenerator::VisitNativeFunctionLiteral(
|
| // Compute the function template for the native function.
|
| Handle<String> name = expr->name();
|
| v8::Handle<v8::FunctionTemplate> fun_template =
|
| - expr->extension()->GetNativeFunction(v8::Utils::ToLocal(name));
|
| + expr->extension()->GetNativeFunctionTemplate(
|
| + reinterpret_cast<v8::Isolate*>(isolate()), v8::Utils::ToLocal(name));
|
| ASSERT(!fun_template.IsEmpty());
|
|
|
| // Instantiate the function and create a shared function info from it.
|
|
|