| OLD | NEW | 
|---|
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #include "src/compiler/instruction-selector.h" | 5 #include "src/compiler/instruction-selector.h" | 
| 6 | 6 | 
| 7 #include "src/compiler/instruction-selector-impl.h" | 7 #include "src/compiler/instruction-selector-impl.h" | 
| 8 #include "src/compiler/node-matchers.h" | 8 #include "src/compiler/node-matchers.h" | 
| 9 #include "src/compiler/node-properties-inl.h" | 9 #include "src/compiler/node-properties-inl.h" | 
| 10 #include "src/compiler/pipeline.h" | 10 #include "src/compiler/pipeline.h" | 
| (...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 481     case IrOpcode::kHeapConstant: | 481     case IrOpcode::kHeapConstant: | 
| 482     case IrOpcode::kNumberConstant: | 482     case IrOpcode::kNumberConstant: | 
| 483       // TODO(turbofan): only mark non-smis as references. | 483       // TODO(turbofan): only mark non-smis as references. | 
| 484       return MarkAsReference(node), VisitConstant(node); | 484       return MarkAsReference(node), VisitConstant(node); | 
| 485     case IrOpcode::kCall: | 485     case IrOpcode::kCall: | 
| 486       return VisitCall(node, NULL, NULL); | 486       return VisitCall(node, NULL, NULL); | 
| 487     case IrOpcode::kFrameState: | 487     case IrOpcode::kFrameState: | 
| 488     case IrOpcode::kStateValues: | 488     case IrOpcode::kStateValues: | 
| 489       return; | 489       return; | 
| 490     case IrOpcode::kLoad: { | 490     case IrOpcode::kLoad: { | 
| 491       MachineType load_rep = OpParameter<MachineType>(node); | 491       LoadRepresentation rep = OpParameter<LoadRepresentation>(node); | 
| 492       MarkAsRepresentation(load_rep, node); | 492       MarkAsRepresentation(rep, node); | 
| 493       return VisitLoad(node); | 493       return VisitLoad(node); | 
| 494     } | 494     } | 
| 495     case IrOpcode::kStore: | 495     case IrOpcode::kStore: | 
| 496       return VisitStore(node); | 496       return VisitStore(node); | 
| 497     case IrOpcode::kWord32And: | 497     case IrOpcode::kWord32And: | 
| 498       return VisitWord32And(node); | 498       return VisitWord32And(node); | 
| 499     case IrOpcode::kWord32Or: | 499     case IrOpcode::kWord32Or: | 
| 500       return VisitWord32Or(node); | 500       return VisitWord32Or(node); | 
| 501     case IrOpcode::kWord32Xor: | 501     case IrOpcode::kWord32Xor: | 
| 502       return VisitWord32Xor(node); | 502       return VisitWord32Xor(node); | 
| (...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1088 | 1088 | 
| 1089 | 1089 | 
| 1090 void InstructionSelector::VisitCall(Node* call, BasicBlock* continuation, | 1090 void InstructionSelector::VisitCall(Node* call, BasicBlock* continuation, | 
| 1091                                     BasicBlock* deoptimization) {} | 1091                                     BasicBlock* deoptimization) {} | 
| 1092 | 1092 | 
| 1093 #endif  // !V8_TURBOFAN_BACKEND | 1093 #endif  // !V8_TURBOFAN_BACKEND | 
| 1094 | 1094 | 
| 1095 }  // namespace compiler | 1095 }  // namespace compiler | 
| 1096 }  // namespace internal | 1096 }  // namespace internal | 
| 1097 }  // namespace v8 | 1097 }  // namespace v8 | 
| OLD | NEW | 
|---|