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