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

Unified Diff: runtime/vm/assembler_x64.cc

Issue 1137313002: VM: Set breakpoints on x64 and arm64 without patching code. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: re-upload from git workspace Created 5 years, 7 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/assembler_x64.h ('k') | runtime/vm/code_patcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_x64.cc
diff --git a/runtime/vm/assembler_x64.cc b/runtime/vm/assembler_x64.cc
index 40cb2cf736707c9bc914748476e9a74433363a65..45a0754cde9852e760755f48f93c902e2061bc8f 100644
--- a/runtime/vm/assembler_x64.cc
+++ b/runtime/vm/assembler_x64.cc
@@ -57,29 +57,6 @@ Assembler::Assembler(bool use_far_branches)
} else {
object_pool_.AddObject(vacant, kNotPatchable);
}
-
- // Create fixed object pool entries for debugger stubs.
- if (stub_code->ICCallBreakpoint_entry() != NULL) {
- index = object_pool_.AddExternalLabel(
- &stub_code->ICCallBreakpointLabel(), kNotPatchable);
- ASSERT(index == kICCallBreakpointCPIndex);
- } else {
- object_pool_.AddObject(vacant, kNotPatchable);
- }
- if (stub_code->ClosureCallBreakpoint_entry() != NULL) {
- index = object_pool_.AddExternalLabel(
- &stub_code->ClosureCallBreakpointLabel(), kNotPatchable);
- ASSERT(index == kClosureCallBreakpointCPIndex);
- } else {
- object_pool_.AddObject(vacant, kNotPatchable);
- }
- if (stub_code->RuntimeCallBreakpoint_entry() != NULL) {
- index = object_pool_.AddExternalLabel(
- &stub_code->RuntimeCallBreakpointLabel(), kNotPatchable);
- ASSERT(index == kRuntimeCallBreakpointCPIndex);
- } else {
- object_pool_.AddObject(vacant, kNotPatchable);
- }
}
}
« no previous file with comments | « runtime/vm/assembler_x64.h ('k') | runtime/vm/code_patcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698