| Index: src/compiler/js-context-specialization.cc
|
| diff --git a/src/compiler/js-context-specialization.cc b/src/compiler/js-context-specialization.cc
|
| index ffc8f1cfed5bf2abaaa160f3113d7a9d97c52d85..1bf19ac7d6876017ef4cba9f634f85b0251a4738 100644
|
| --- a/src/compiler/js-context-specialization.cc
|
| +++ b/src/compiler/js-context-specialization.cc
|
| @@ -14,11 +14,6 @@ namespace internal {
|
| namespace compiler {
|
|
|
| Reduction JSContextSpecializer::Reduce(Node* node) {
|
| - if (node == context_) {
|
| - Node* constant = jsgraph_->Constant(ctx_);
|
| - NodeProperties::ReplaceWithValue(node, constant);
|
| - return Replace(constant);
|
| - }
|
| if (node->opcode() == IrOpcode::kJSLoadContext) {
|
| return ReduceJSLoadContext(node);
|
| }
|
|
|