Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index e52f47657be249c4932d27ac6bee653c934a9a31..356b6ba09cef00c728d06f8933cd94b95a53fdec 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -13402,6 +13402,15 @@ String* SharedFunctionInfo::DebugName() { |
return String::cast(n); |
} |
+bool SharedFunctionInfo::DebugIsBlackboxed() { |
+ if (!computed_debug_is_blackboxed()) { |
+ Handle<SharedFunctionInfo> info(this); |
+ set_debug_is_blackboxed(info->GetIsolate()->debug()->IsBlackboxed(info)); |
+ set_computed_debug_is_blackboxed(true); |
+ } |
+ return debug_is_blackboxed(); |
+} |
+ |
bool SharedFunctionInfo::HasNoSideEffect() { |
if (!computed_has_no_side_effect()) { |
DisallowHeapAllocation not_handlified; |