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

Unified Diff: runtime/vm/debugger_arm.cc

Issue 1192103004: VM: New calling convention for generated code. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: fixed comments Created 5 years, 3 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/debugger.cc ('k') | runtime/vm/debugger_arm64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/debugger_arm.cc
diff --git a/runtime/vm/debugger_arm.cc b/runtime/vm/debugger_arm.cc
index e0a366da26112238cc451dd18541bc9ecc266e0c..1322b8d43863c73c10e54d8a2511501fc4f2c907 100644
--- a/runtime/vm/debugger_arm.cc
+++ b/runtime/vm/debugger_arm.cc
@@ -13,21 +13,21 @@
namespace dart {
-uword CodeBreakpoint::OrigStubAddress() const {
+RawCode* CodeBreakpoint::OrigStubAddress() const {
return saved_value_;
}
void CodeBreakpoint::PatchCode() {
ASSERT(!is_enabled_);
- uword stub_target = 0;
+ Code& stub_target = Code::Handle();
switch (breakpoint_kind_) {
case RawPcDescriptors::kIcCall:
case RawPcDescriptors::kUnoptStaticCall:
- stub_target = StubCode::ICCallBreakpoint_entry()->EntryPoint();
+ stub_target = StubCode::ICCallBreakpoint_entry()->code();
break;
case RawPcDescriptors::kRuntimeCall:
- stub_target = StubCode::RuntimeCallBreakpoint_entry()->EntryPoint();
+ stub_target = StubCode::RuntimeCallBreakpoint_entry()->code();
break;
default:
UNREACHABLE();
@@ -46,7 +46,7 @@ void CodeBreakpoint::RestoreCode() {
case RawPcDescriptors::kIcCall:
case RawPcDescriptors::kUnoptStaticCall:
case RawPcDescriptors::kRuntimeCall: {
- CodePatcher::PatchStaticCallAt(pc_, code, saved_value_);
+ CodePatcher::PatchStaticCallAt(pc_, code, Code::Handle(saved_value_));
break;
}
default:
« no previous file with comments | « runtime/vm/debugger.cc ('k') | runtime/vm/debugger_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698