Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index 0b3534e86f09c89c06e389f70423c10252793a18..2ddb4200bfaedc450fa8db611711f64af717b771 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -727,6 +727,13 @@ bool JavaScriptFrame::IsConstructor() const { |
} |
+bool JavaScriptFrame::HasInlinedFrames() { |
+ List<JSFunction*> functions(1); |
+ GetFunctions(&functions); |
+ return functions.length() > 1; |
+} |
+ |
+ |
Object* JavaScriptFrame::GetOriginalConstructor() const { |
Address fp = caller_fp(); |
if (has_adapted_arguments()) { |