Index: src/factory.cc |
=================================================================== |
--- src/factory.cc (revision 311) |
+++ src/factory.cc (working copy) |
@@ -727,6 +727,7 @@ |
} |
result->shared()->set_function_data(*obj); |
+ result->shared()->DontAdaptArguments(); |
// Recursively copy parent templates' accessors, 'data' may be modified. |
Handle<DescriptorArray> array = |