Chromium Code Reviews| Index: src/interpreter/interpreter.cc |
| diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc |
| index d8711ea588d7d37536c8e76abbd4745d33019770..476178268770b29e89ac7677a74af7fc2c924972 100644 |
| --- a/src/interpreter/interpreter.cc |
| +++ b/src/interpreter/interpreter.cc |
| @@ -532,6 +532,26 @@ void Interpreter::DoTypeOf(compiler::InterpreterAssembler* assembler) { |
| } |
| +// DeletePropertyStrict |
| +// |
| +// Delete the property specified in the accumulator from the object |
| +// referenced by the register operand following strict mode semantics. |
| +void Interpreter::DoDeletePropertyStrict( |
| + compiler::InterpreterAssembler* assembler) { |
| + DoBinaryOp(Runtime::kDeleteProperty_Strict, assembler); |
|
rmcilroy
2015/10/21 14:52:54
Hmm, this isn't really a binary op, and when binar
mythria
2015/10/23 14:48:01
Done.
|
| +} |
| + |
| + |
| +// DeletePropertySloppy |
| +// |
| +// Delete the property specified in the accumulator from the object |
| +// referenced by the register operand following sloppy mode semantics. |
| +void Interpreter::DoDeletePropertySloppy( |
| + compiler::InterpreterAssembler* assembler) { |
| + DoBinaryOp(Runtime::kDeleteProperty_Sloppy, assembler); |
| +} |
| + |
| + |
| // Call <callable> <receiver> <arg_count> |
| // |
| // Call a JSfunction or Callable in |callable| with the |receiver| and |