Index: src/runtime/runtime-debug.cc |
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc |
index 4d2bd84caceead860ed68c39b5114d91f305e5de..c35bbe821ecfb6147377920e076257a04e20a69e 100644 |
--- a/src/runtime/runtime-debug.cc |
+++ b/src/runtime/runtime-debug.cc |
@@ -766,7 +766,7 @@ |
// Add the receiver (same as in function frame). |
Handle<Object> receiver(it.frame()->receiver(), isolate); |
- DCHECK(function->shared()->IsUserJavaScript()); |
+ DCHECK(!function->shared()->IsBuiltin()); |
DCHECK_IMPLIES(is_sloppy(shared->language_mode()), receiver->IsJSReceiver()); |
details->set(kFrameDetailsReceiverIndex, *receiver); |