Index: src/runtime/runtime-scopes.cc |
diff --git a/src/runtime/runtime-scopes.cc b/src/runtime/runtime-scopes.cc |
index 30f497c00f55add8e399b4514615ab76166a65d8..d8d8e57879f5fb9714f8831a2dfae1f934090c00 100644 |
--- a/src/runtime/runtime-scopes.cc |
+++ b/src/runtime/runtime-scopes.cc |
@@ -410,7 +410,7 @@ std::unique_ptr<Handle<Object>[]> GetCallerArguments(Isolate* isolate, |
template <typename T> |
Handle<JSObject> NewSloppyArguments(Isolate* isolate, Handle<JSFunction> callee, |
T parameters, int argument_count) { |
- CHECK(!IsSubclassConstructor(callee->shared()->kind())); |
+ CHECK(!IsDerivedConstructor(callee->shared()->kind())); |
DCHECK(callee->shared()->has_simple_parameters()); |
Handle<JSObject> result = |
isolate->factory()->NewArgumentsObject(callee, argument_count); |