| Index: src/interpreter/interpreter.cc
|
| diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc
|
| index 518c0830093919502ccc91996f471c19fd3d5aa8..5cf348ba5c8df504a79589151f7c08f78b825ae1 100644
|
| --- a/src/interpreter/interpreter.cc
|
| +++ b/src/interpreter/interpreter.cc
|
| @@ -188,7 +188,7 @@ void Interpreter::DoStar(compiler::InterpreterAssembler* assembler) {
|
| //
|
| // Load the global at |slot_index| into the accumulator.
|
| void Interpreter::DoLdaGlobal(compiler::InterpreterAssembler* assembler) {
|
| - Node* slot_index = __ BytecodeOperandIdx8(0);
|
| + Node* slot_index = __ BytecodeOperandIdx16(0);
|
| Node* smi_slot_index = __ SmiTag(slot_index);
|
| Node* result = __ CallRuntime(Runtime::kLoadGlobalViaContext, smi_slot_index);
|
| __ SetAccumulator(result);
|
| @@ -201,7 +201,7 @@ void Interpreter::DoLdaGlobal(compiler::InterpreterAssembler* assembler) {
|
| // Store the global at |slot_index| with the value in the the accumulator in
|
| // sloppy mode.
|
| void Interpreter::DoStaGlobalSloppy(compiler::InterpreterAssembler* assembler) {
|
| - Node* slot_index = __ BytecodeOperandIdx8(0);
|
| + Node* slot_index = __ BytecodeOperandIdx16(0);
|
| Node* smi_slot_index = __ SmiTag(slot_index);
|
| Node* value = __ GetAccumulator();
|
| __ CallRuntime(Runtime::kStoreGlobalViaContext_Sloppy, smi_slot_index, value);
|
| @@ -214,7 +214,7 @@ void Interpreter::DoStaGlobalSloppy(compiler::InterpreterAssembler* assembler) {
|
| // Store the global at |slot_index| with the value in the the accumulator in
|
| // strict mode.
|
| void Interpreter::DoStaGlobalStrict(compiler::InterpreterAssembler* assembler) {
|
| - Node* slot_index = __ BytecodeOperandIdx8(0);
|
| + Node* slot_index = __ BytecodeOperandIdx16(0);
|
| Node* smi_slot_index = __ SmiTag(slot_index);
|
| Node* value = __ GetAccumulator();
|
| __ CallRuntime(Runtime::kStoreGlobalViaContext_Strict, smi_slot_index, value);
|
|
|