Index: src/runtime/runtime-scopes.cc |
diff --git a/src/runtime/runtime-scopes.cc b/src/runtime/runtime-scopes.cc |
index 11fdc0f4791a2d8421f81b8c378905124a14cb4a..518f66cb520cf7a6306ea20a38f25b1041df594d 100644 |
--- a/src/runtime/runtime-scopes.cc |
+++ b/src/runtime/runtime-scopes.cc |
@@ -580,12 +580,6 @@ RUNTIME_FUNCTION(Runtime_NewSloppyArguments) { |
CONVERT_ARG_HANDLE_CHECKED(JSFunction, callee, 0); |
Object** parameters = reinterpret_cast<Object**>(args[1]); |
CONVERT_SMI_ARG_CHECKED(argument_count, 2); |
-#ifdef DEBUG |
- // This runtime function does not materialize the correct arguments when the |
- // caller has been inlined, better make sure we are not hitting that case. |
- JavaScriptFrameIterator it(isolate); |
- DCHECK(!it.frame()->HasInlinedFrames()); |
-#endif // DEBUG |
ParameterArguments argument_getter(parameters); |
return *NewSloppyArguments(isolate, callee, argument_getter, argument_count); |
} |