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

Unified Diff: src/objects.h

Issue 2185293004: [interpreter] Reduce size of OSR nesting level field. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add static assert. Created 4 years, 5 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 | « src/interpreter/interpreter-assembler.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 510f4e93bff99d6a166bd902d3e06abcdd82a529..f627bd29f496ff0268e4becba3273305255f63be 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -4570,10 +4570,8 @@ class BytecodeArray : public FixedArrayBase {
static const int kFrameSizeOffset = kSourcePositionTableOffset + kPointerSize;
static const int kParameterSizeOffset = kFrameSizeOffset + kIntSize;
static const int kInterruptBudgetOffset = kParameterSizeOffset + kIntSize;
- // TODO(4764): The OSR nesting level is guaranteed to be in [0;6] bounds and
- // could potentially be merged with another field (e.g. parameter_size).
static const int kOSRNestingLevelOffset = kInterruptBudgetOffset + kIntSize;
- static const int kHeaderSize = kOSRNestingLevelOffset + kIntSize;
+ static const int kHeaderSize = kOSRNestingLevelOffset + kCharSize;
// Maximal memory consumption for a single BytecodeArray.
static const int kMaxSize = 512 * MB;
« no previous file with comments | « src/interpreter/interpreter-assembler.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698