#if ENABLE(VMINSPECTOR)
-#include <stdio.h>
+#include "JSCInlines.h"
#include <wtf/ASCIICType.h>
#include <wtf/text/WTFString.h>
int VMInspector::countFrames(CallFrame* frame)
{
int count = -1;
- while (frame && !frame->hasHostCallFrameFlag()) {
+ while (frame && !frame->isVMEntrySentinel()) {
count++;
frame = frame->callerFrame();
}