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

Unified Diff: src/objects.h

Issue 2825903002: [inspector] deduplicate stack frames (Closed)
Patch Set: cleanup cache after stack trace collected Created 3 years, 8 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
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index a83adb3ff399baada7a5102b7e9368d30c7bc3c9..2b1e186f609c156afffe7b8220e341da8cfe58d3 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -10149,6 +10149,7 @@ class StackFrameInfo : public Struct {
DECL_BOOLEAN_ACCESSORS(is_constructor)
DECL_BOOLEAN_ACCESSORS(is_wasm)
DECL_INT_ACCESSORS(flag)
+ DECL_INT_ACCESSORS(id)
DECLARE_CAST(StackFrameInfo)
@@ -10165,7 +10166,8 @@ class StackFrameInfo : public Struct {
static const int kFunctionNameIndex =
kScriptNameOrSourceUrlIndex + kPointerSize;
static const int kFlagIndex = kFunctionNameIndex + kPointerSize;
- static const int kSize = kFlagIndex + kPointerSize;
+ static const int kIdIndex = kFlagIndex + kPointerSize;
+ static const int kSize = kIdIndex + kPointerSize;
private:
// Bit position in the flag, from least significant bit position.
« src/inspector/v8-stack-trace-impl.cc ('K') | « src/isolate.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698