Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(493)

Unified Diff: runtime/vm/stack_frame.h

Issue 1247783002: Make array allocation stub shared between isolates. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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).

Powered by Google App Engine
This is Rietveld 408576698