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

Unified Diff: runtime/vm/debugger_x64.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_x64.cc
diff --git a/runtime/vm/debugger_x64.cc b/runtime/vm/debugger_x64.cc
index 39b1ac115c4d6394810ac82f55521e1b1fb18a79..c3d2495c35e87b609b7ce16e371df3e11b3c64b6 100644
--- a/runtime/vm/debugger_x64.cc
+++ b/runtime/vm/debugger_x64.cc
@@ -22,15 +22,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