| Index: src/compiler/x87/instruction-selector-x87.cc
|
| diff --git a/src/compiler/x87/instruction-selector-x87.cc b/src/compiler/x87/instruction-selector-x87.cc
|
| index 8355963669c56c797a5cfa9404c0eeeccf60079d..c1551df6290e250aee0a1d34dd2e10d46249efe4 100644
|
| --- a/src/compiler/x87/instruction-selector-x87.cc
|
| +++ b/src/compiler/x87/instruction-selector-x87.cc
|
| @@ -1066,26 +1066,6 @@ void VisitWordCompare(InstructionSelector* selector, Node* node,
|
|
|
| void VisitWordCompare(InstructionSelector* selector, Node* node,
|
| FlagsContinuation* cont) {
|
| - X87OperandGenerator g(selector);
|
| - Int32BinopMatcher m(node);
|
| - if (m.left().IsLoad() && m.right().IsLoadStackPointer()) {
|
| - LoadMatcher<ExternalReferenceMatcher> mleft(m.left().node());
|
| - ExternalReference js_stack_limit =
|
| - ExternalReference::address_of_stack_limit(selector->isolate());
|
| - if (mleft.object().Is(js_stack_limit) && mleft.index().Is(0)) {
|
| - // Compare(Load(js_stack_limit), LoadStackPointer)
|
| - if (!node->op()->HasProperty(Operator::kCommutative)) cont->Commute();
|
| - InstructionCode opcode = cont->Encode(kX87StackCheck);
|
| - if (cont->IsBranch()) {
|
| - selector->Emit(opcode, g.NoOutput(), g.Label(cont->true_block()),
|
| - g.Label(cont->false_block()));
|
| - } else {
|
| - DCHECK(cont->IsSet());
|
| - selector->Emit(opcode, g.DefineAsRegister(cont->result()));
|
| - }
|
| - return;
|
| - }
|
| - }
|
| VisitWordCompare(selector, node, kX87Cmp, cont);
|
| }
|
|
|
|
|