Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 8944905d96190d991e4051306a471ae43cc17d91..05cb259602edb00bcc9427dd75e69b82f9e30d55 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -2348,10 +2348,9 @@ 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->is_simple_parameter_list(); |
+ !callee->has_simple_parameters(); |
Handle<Map> map = strict_mode_callee ? isolate()->strict_arguments_map() |
: isolate()->sloppy_arguments_map(); |
- |
AllocationSiteUsageContext context(isolate(), Handle<AllocationSite>(), |
false); |
DCHECK(!isolate()->has_pending_exception()); |