| Index: src/crankshaft/hydrogen.cc
|
| diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc
|
| index 7f2ce828e572b956c60bed2c54a78bcfb9ac8a9d..d3aada359fe3c8aedb618ff0ca1ef8ac48d7cd70 100644
|
| --- a/src/crankshaft/hydrogen.cc
|
| +++ b/src/crankshaft/hydrogen.cc
|
| @@ -10600,8 +10600,8 @@ void HOptimizedGraphBuilder::VisitDelete(UnaryOperation* expr) {
|
| // Result of deleting non-global variables is false. 'this' is not really
|
| // a variable, though we implement it as one. The subexpression does not
|
| // have side effects.
|
| - HValue* value = var->HasThisName(isolate()) ? graph()->GetConstantTrue()
|
| - : graph()->GetConstantFalse();
|
| + HValue* value = var->is_this() ? graph()->GetConstantTrue()
|
| + : graph()->GetConstantFalse();
|
| return ast_context()->ReturnValue(value);
|
| } else {
|
| Bailout(kDeleteWithNonGlobalVariable);
|
|
|