| Index: src/interpreter/bytecode-generator.cc
|
| diff --git a/src/interpreter/bytecode-generator.cc b/src/interpreter/bytecode-generator.cc
|
| index cff821217be8d682b2adaf6e2daec4b05b6ca844..c35d77c907681f7e760233073b50a4e6df3d5b74 100644
|
| --- a/src/interpreter/bytecode-generator.cc
|
| +++ b/src/interpreter/bytecode-generator.cc
|
| @@ -1405,8 +1405,7 @@
|
| uint8_t flags = CreateClosureFlags::Encode(expr->pretenure(),
|
| scope()->is_function_scope());
|
| size_t entry = builder()->AllocateConstantPoolEntry();
|
| - int slot_index = feedback_index(expr->LiteralFeedbackSlot());
|
| - builder()->CreateClosure(entry, slot_index, flags);
|
| + builder()->CreateClosure(entry, flags);
|
| function_literals_.push_back(std::make_pair(expr, entry));
|
| }
|
|
|
| @@ -1539,8 +1538,7 @@
|
| void BytecodeGenerator::VisitNativeFunctionLiteral(
|
| NativeFunctionLiteral* expr) {
|
| size_t entry = builder()->AllocateConstantPoolEntry();
|
| - int slot_index = feedback_index(expr->LiteralFeedbackSlot());
|
| - builder()->CreateClosure(entry, slot_index, NOT_TENURED);
|
| + builder()->CreateClosure(entry, NOT_TENURED);
|
| native_function_literals_.push_back(std::make_pair(expr, entry));
|
| }
|
|
|
|
|