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

Unified Diff: runtime/vm/debugger_mips.cc

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/debugger_mips.cc
diff --git a/runtime/vm/debugger_mips.cc b/runtime/vm/debugger_mips.cc
index cd661db96a657798b16fe8e7943da4be908378d2..d1430884ca1d91c4ebbcc34a019f022d37374795 100644
--- a/runtime/vm/debugger_mips.cc
+++ b/runtime/vm/debugger_mips.cc
@@ -20,15 +20,14 @@ uword CodeBreakpoint::OrigStubAddress() const {
void CodeBreakpoint::PatchCode() {
ASSERT(!is_enabled_);
- StubCode* stub_code = Isolate::Current()->stub_code();
uword stub_target = 0;
switch (breakpoint_kind_) {
case RawPcDescriptors::kIcCall:
case RawPcDescriptors::kUnoptStaticCall:
- stub_target = stub_code->ICCallBreakpointEntryPoint();
+ stub_target = StubCode::ICCallBreakpointEntryPoint();
break;
case RawPcDescriptors::kRuntimeCall:
- stub_target = stub_code->RuntimeCallBreakpointEntryPoint();
+ stub_target = StubCode::RuntimeCallBreakpointEntryPoint();
break;
default:
UNREACHABLE();

Powered by Google App Engine
This is Rietveld 408576698