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

Unified Diff: src/interpreter/bytecode-array-writer.cc

Issue 2167763003: [Interpreter] Avoid allocating pairs array in VisitDeclarations. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@int_merge_binary
Patch Set: 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
Index: src/interpreter/bytecode-array-writer.cc
diff --git a/src/interpreter/bytecode-array-writer.cc b/src/interpreter/bytecode-array-writer.cc
index 0479e0194bd35737ffc7fa5f60251596fa70c492..aeb535eaa12e5a09ee63d76caf63e3805952e7e6 100644
--- a/src/interpreter/bytecode-array-writer.cc
+++ b/src/interpreter/bytecode-array-writer.cc
@@ -369,7 +369,7 @@ void BytecodeArrayWriter::EmitJump(BytecodeNode* node, BytecodeLabel* label) {
unbound_jumps_++;
label->set_referrer(current_offset);
OperandSize reserved_operand_size =
- constant_array_builder()->CreateReservedEntry();
+ constant_array_builder()->CreateDiscardableReservedEntry();
switch (reserved_operand_size) {
case OperandSize::kNone:
UNREACHABLE();

Powered by Google App Engine
This is Rietveld 408576698