Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 66b12ead9e7a912c0ee3defe7392d2557f20a926..57ecbaaa09320be35d3bba66788bfdbdca4fdfc4 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -2278,7 +2278,7 @@ Handle<DebugInfo> Factory::NewDebugInfo(Handle<SharedFunctionInfo> shared) { |
Handle<JSObject> Factory::NewArgumentsObject(Handle<JSFunction> callee, |
int length) { |
bool strict_mode_callee = is_strict(callee->shared()->language_mode()) || |
- !callee->has_simple_parameters(); |
+ !callee->shared()->has_simple_parameters(); |
Handle<Map> map = strict_mode_callee ? isolate()->strict_arguments_map() |
: isolate()->sloppy_arguments_map(); |
AllocationSiteUsageContext context(isolate(), Handle<AllocationSite>(), |