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

Unified Diff: src/objects.h

Issue 1707693003: [Interpreter] Enable runtime profiler support for Ignition. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add test and modify comment. Created 4 years, 10 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 c2bdf4836604b02e604ef9e163a57d840fa8de39..e6c425ea47a3e2bf9e08413bf5f4c504efe9c8f1 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -4461,6 +4461,10 @@ class BytecodeArray : public FixedArrayBase {
inline int parameter_count() const;
inline void set_parameter_count(int number_of_parameters);
+ // Accessors for profiling count.
+ inline int profiling_count() const;
+ inline void set_profiling_count(int profiling_count_budget);
+
// Accessors for the constant pool.
DECL_ACCESSORS(constant_pool, FixedArray)
@@ -4489,7 +4493,8 @@ class BytecodeArray : public FixedArrayBase {
// Layout description.
static const int kFrameSizeOffset = FixedArrayBase::kHeaderSize;
static const int kParameterSizeOffset = kFrameSizeOffset + kIntSize;
- static const int kConstantPoolOffset = kParameterSizeOffset + kIntSize;
+ static const int kProfilingCountOffset = kParameterSizeOffset + kIntSize;
+ static const int kConstantPoolOffset = kProfilingCountOffset + kIntSize;
static const int kHandlerTableOffset = kConstantPoolOffset + kPointerSize;
static const int kSourcePositionTableOffset =
kHandlerTableOffset + kPointerSize;

Powered by Google App Engine
This is Rietveld 408576698