Index: runtime/vm/stack_frame.h |
diff --git a/runtime/vm/stack_frame.h b/runtime/vm/stack_frame.h |
index dd849e57948a7288b9a001a0d19cfd757313c907..94ba9d31837e3fdcd98ae4b278df180be3530ec7 100644 |
--- a/runtime/vm/stack_frame.h |
+++ b/runtime/vm/stack_frame.h |
@@ -144,7 +144,7 @@ class ExitFrame : public StackFrame { |
class EntryFrame : public StackFrame { |
public: |
bool IsValid() const { |
- return StubCode::InInvocationStubForIsolate(isolate(), pc()); |
+ return StubCode::InInvocationStub(pc()); |
} |
bool IsDartFrame(bool validate = true) const { return false; } |
bool IsStubFrame() const { return false; } |
@@ -206,7 +206,7 @@ class StackFrameIterator : public ValueObject { |
} |
const uword pc = *(reinterpret_cast<uword*>( |
sp_ + (kSavedPcSlotFromSp * kWordSize))); |
- return !StubCode::InInvocationStubForIsolate(isolate_, pc); |
+ return !StubCode::InInvocationStub(pc); |
} |
// Get next non entry/exit frame in the set (assumes a next frame exists). |