]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - interpreter/VMInspector.cpp
JavaScriptCore-7600.1.4.11.8.tar.gz
[apple/javascriptcore.git] / interpreter / VMInspector.cpp
index 58bc15075edb8e0c70259764ae22bfec98b404b4..e4cd2670aa53cd31299dd89e259740fb95d567cf 100644 (file)
@@ -28,7 +28,7 @@
 
 #if ENABLE(VMINSPECTOR)
 
-#include <stdio.h>
+#include "JSCInlines.h"
 #include <wtf/ASCIICType.h>
 #include <wtf/text/WTFString.h>
 
@@ -102,7 +102,7 @@ void VMInspector::dumpFrame(CallFrame* frame, const char* prefix,
 int VMInspector::countFrames(CallFrame* frame)
 {
     int count = -1;
-    while (frame && !frame->hasHostCallFrameFlag()) {
+    while (frame && !frame->isVMEntrySentinel()) {
         count++;
         frame = frame->callerFrame();
     }