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

Unified Diff: src/debug.h

Issue 1130123007: Revert of Debugger: preserve stepping state after evaluating breakpoint condition. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 | « no previous file | src/debug.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug.h
diff --git a/src/debug.h b/src/debug.h
index 5fe56d3e212ba3cc43ceba249979d83988c8ce31..9a9a3ba9239d035b69ed1e6e9c05442cfa0c2259 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -732,27 +732,6 @@
Object** restarter_frame_function_pointer_;
};
-
- class PreserveDebugState {
- public:
- explicit PreserveDebugState(Debug* debug) : debug_(debug) {
- size_t size = sizeof(debug_->thread_local_);
- storage_ = NewArray<char>(size);
- MemCopy(storage_, &debug_->thread_local_, size);
- }
-
- ~PreserveDebugState() {
- size_t size = sizeof(debug_->thread_local_);
- MemCopy(&debug_->thread_local_, storage_, size);
- DeleteArray(storage_);
- }
-
- private:
- Debug* debug_;
- char* storage_;
- };
-
-
// Storage location for registers when handling debug break calls
ThreadLocal thread_local_;
« no previous file with comments | « no previous file | src/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698