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

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

Issue 1985753002: [interpreter] Introduce fused bytecodes for common sequences. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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
Index: src/interpreter/bytecode-pipeline.h
diff --git a/src/interpreter/bytecode-pipeline.h b/src/interpreter/bytecode-pipeline.h
index ade712c92c323db41759cd17766ca7e5bfb5f361..81590683d12eaad551f18d4b5ba9dc55c5f56bb3 100644
--- a/src/interpreter/bytecode-pipeline.h
+++ b/src/interpreter/bytecode-pipeline.h
@@ -100,6 +100,11 @@ class BytecodeNode final : ZoneObject {
// Return the size when this node is serialized to a bytecode array.
size_t Size() const;
+ // Transform to a node representing |new_bytecode| which has one
+ // operand more than the current bytecode.
+ void Transform(Bytecode new_bytecode, uint32_t extra_operand,
+ OperandScale extra_operand_scale);
+
Bytecode bytecode() const { return bytecode_; }
uint32_t operand(int i) const {

Powered by Google App Engine
This is Rietveld 408576698