Chromium Code Reviews

Unified Diff: src/interpreter/bytecode-pipeline.h

Issue 2100793003: [interpreter] Streamline bytecode array writing. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/interpreter/bytecode-pipeline.h
diff --git a/src/interpreter/bytecode-pipeline.h b/src/interpreter/bytecode-pipeline.h
index e2beff2c8e3ca94e19172c033248e8e0e6743ee4..92a4cd6380dc23cfd137ba3ce5f30ac60a40982f 100644
--- a/src/interpreter/bytecode-pipeline.h
+++ b/src/interpreter/bytecode-pipeline.h
@@ -183,10 +183,9 @@ class BytecodeNode final : ZoneObject {
private:
static const int kInvalidPosition = kMinInt;
- static const size_t kMaxOperands = 4;
Bytecode bytecode_;
- uint32_t operands_[kMaxOperands];
+ uint32_t operands_[Bytecodes::kMaxOperands];
BytecodeSourceInfo source_info_;
};

Powered by Google App Engine