X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/93a3786624b2768d89bfa27e46598dc64e2fb70a..cb9aa2694aba0ae4f946ed34b8e0f6c99c1cfe44:/interpreter/VMInspector.cpp diff --git a/interpreter/VMInspector.cpp b/interpreter/VMInspector.cpp index 58bc150..e4cd267 100644 --- a/interpreter/VMInspector.cpp +++ b/interpreter/VMInspector.cpp @@ -28,7 +28,7 @@ #if ENABLE(VMINSPECTOR) -#include +#include "JSCInlines.h" #include #include @@ -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(); }