Index: src/interpreter/interpreter.cc |
diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc |
index 74c23bb91a9f106b7d2269ed464eb70b66edfd3f..13bf676f1d85407b0f98f36c2da7ce3e72386a50 100644 |
--- a/src/interpreter/interpreter.cc |
+++ b/src/interpreter/interpreter.cc |
@@ -963,6 +963,20 @@ void Interpreter::DoDeletePropertySloppy( |
} |
+// DeleteLookupSlot |
+// |
+// Delete the variable with the name specified in the accumulator by dynamically |
+// looking it up. |
+void Interpreter::DoDeleteLookupSlot( |
+ compiler::InterpreterAssembler* assembler) { |
+ Node* name = __ GetAccumulator(); |
+ Node* context = __ GetContext(); |
+ Node* result = __ CallRuntime(Runtime::kDeleteLookupSlot, context, name); |
+ __ SetAccumulator(result); |
+ __ Dispatch(); |
+} |
+ |
+ |
void Interpreter::DoJSCall(compiler::InterpreterAssembler* assembler) { |
Node* function_reg = __ BytecodeOperandReg(0); |
Node* function = __ LoadRegister(function_reg); |