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

Unified Diff: runtime/vm/debugger_arm.cc

Issue 668193002: Remove isolate pointer from context objects. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 2 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
« no previous file with comments | « runtime/vm/dart_entry.cc ('k') | runtime/vm/debugger_ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/debugger_arm.cc
===================================================================
--- runtime/vm/debugger_arm.cc (revision 41244)
+++ runtime/vm/debugger_arm.cc (working copy)
@@ -42,6 +42,7 @@
ASSERT(!is_enabled_);
const Code& code = Code::Handle(code_);
const Instructions& instrs = Instructions::Handle(code.instructions());
+ Isolate* isolate = Isolate::Current();
{
WritableInstructionsScope writable(instrs.EntryPoint(), instrs.size());
switch (breakpoint_kind_) {
@@ -49,19 +50,19 @@
case RawPcDescriptors::kUnoptStaticCall: {
saved_value_ = CodePatcher::GetStaticCallTargetAt(pc_, code);
CodePatcher::PatchStaticCallAt(
- pc_, code, StubCode::ICCallBreakpointEntryPoint());
+ pc_, code, isolate->stub_code()->ICCallBreakpointEntryPoint());
break;
}
case RawPcDescriptors::kClosureCall: {
saved_value_ = CodePatcher::GetStaticCallTargetAt(pc_, code);
CodePatcher::PatchStaticCallAt(
- pc_, code, StubCode::ClosureCallBreakpointEntryPoint());
+ pc_, code, isolate->stub_code()->ClosureCallBreakpointEntryPoint());
break;
}
case RawPcDescriptors::kRuntimeCall: {
saved_value_ = CodePatcher::GetStaticCallTargetAt(pc_, code);
CodePatcher::PatchStaticCallAt(
- pc_, code, StubCode::RuntimeCallBreakpointEntryPoint());
+ pc_, code, isolate->stub_code()->RuntimeCallBreakpointEntryPoint());
break;
}
default:
« no previous file with comments | « runtime/vm/dart_entry.cc ('k') | runtime/vm/debugger_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698