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

Unified Diff: src/debug/debug.h

Issue 2900713004: [objects] Extract DebugInfo and BreakPointInfo to own file (Closed)
Patch Set: Remove undefs from objects-inl.h Created 3 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 | « BUILD.gn ('k') | src/debug/debug.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug/debug.h
diff --git a/src/debug/debug.h b/src/debug/debug.h
index 5dad8a8ceb2581d294109e734f1fcaf86c1db1ec..ae2a26d41a305ab0b231e9c667d16dd5cdd1e016 100644
--- a/src/debug/debug.h
+++ b/src/debug/debug.h
@@ -17,6 +17,7 @@
#include "src/flags.h"
#include "src/frames.h"
#include "src/globals.h"
+#include "src/objects/debug-objects.h"
#include "src/runtime/runtime.h"
#include "src/source-position-table.h"
#include "src/string-stream.h"
@@ -177,10 +178,7 @@ class CodeBreakIterator : public BreakIterator {
void SkipToPosition(int position, BreakPositionAlignment alignment);
- int code_offset() override {
- return static_cast<int>(rinfo()->pc() -
- debug_info_->DebugCode()->instruction_start());
- }
+ int code_offset() override;
private:
int GetModeMask();
« no previous file with comments | « BUILD.gn ('k') | src/debug/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698