| Index: src/interpreter/interpreter.cc
|
| diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc
|
| index 3099fdfc76630ac37b5fc6c56b3f51483cb05773..12b7d3da0fc4f22867bde0e833d0a910b644055b 100644
|
| --- a/src/interpreter/interpreter.cc
|
| +++ b/src/interpreter/interpreter.cc
|
| @@ -1340,9 +1340,7 @@ void Interpreter::DoCreateLiteral(Runtime::FunctionId function_id,
|
| Node* flags_raw = __ BytecodeOperandImm(1);
|
| Node* flags = __ SmiTag(flags_raw);
|
| Node* closure = __ LoadRegister(Register::function_closure());
|
| - Node* literals_array =
|
| - __ LoadObjectField(closure, JSFunction::kLiteralsOffset);
|
| - Node* result = __ CallRuntime(function_id, literals_array, literal_index,
|
| + Node* result = __ CallRuntime(function_id, closure, literal_index,
|
| constant_elements, flags);
|
| __ SetAccumulator(result);
|
| __ Dispatch();
|
|
|